Re: QUery regarding target macros ELIMINABLE_REGS and CAN_ELIMINATE.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



sumanth <sumanth.gundapneni@xxxxxxxxxxxxxxxxxx> writes:

>           I tried what you suggested and now my soft frame pointer
> gets eliminated with hard frame pointer.
>  The problem here is I am not getting the correct debugging
> information generated by compiler for local variables.
>  Eg: HARD_FRAME_POINTER_REGNUM is R11 FRAME_POINTER_REGNUM is RFP.
>  Now , as you mentioned I replaced RFP with R11 , my debugging
> information gets corrupted.
>  ""But if I hard code  my FRAME_POINTER_REGNUM  with R11 instead of
> RFP  , I get the correct debugging information""
>  and I do have certain problems in build with above replacement and
> the generated code is not as reliable as expected.

In what way is the debugging information incorrect?  Is it incorrect for
local variables, or function parameters, or both?

Ian

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux