This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Variable tracking (location lists support) - part 1



On Jan 29, 2004, at 2:59 PM, Joseph S. Myers wrote:


On Thu, 29 Jan 2004, Josef Zlomek wrote:

Without location lists, GDB printed some wierd values when debugging
optimized code. GDB with support of location lists (GDB 6.0.1 and newer)
shows correct values of variables even when debugging optimized code
even with -fomit-frame-pointer (when !frame_pointer_needed a special location
list for describing the changes of stack pointer is emitted).

Does this mean that some targets that didn't previously should now have -fomit-frame-pointer enabled at -O?

They could, assuming they output dwarf2.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]