This is the mail archive of the gdb@sourceware.org mailing list for the GDB 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: Bug 10738 - Cannot set breakpoint on inlined function


Hi Andrew,

On Sun, 29 May 2011 16:43:16 +0200, Andrew Cagney wrote:
> This bug apparently recently came up on the GCC lists, and RMS is
> drawing it to our attention.  Does it pique anyone's interest?
> 
> http://sourceware.org/bugzilla/show_bug.cgi?id=10738

while it is sure a high priority Bug it is meaningful only for interactive
debugging of -O2 -g code.  AFAIK most of the GDB use cases is only for
backtracing, both automatic (ABRT, Apport, others) and by hand (bt+quit) as
people do not want to learn all the GDB commands.

-O2 -g interactive debugging (stepping) is not yet much feasible due to the
"jumping around" as GCC does not produce valid DW_LNS_negate_stmt and does not
properly undo/redo variable states by DWARF across scheduled instructions, as
planned by Alexandre Oliva.

The highest priority is to get at least the backtraces working for -O2 -g code.
For example archer-jankratochvil-entryval for it I will submit these weeks.


Thanks,
Jan


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