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: Re[2]: feature request: set step-mode smart



Ilya Basin wrote on Wed, 25 Apr 2012:


JM> up to figuring out yet. In the long term, it also does not seem
JM> tenable to add pattern recognition to gdb for stubs generated by all
JM> possible compilers (and possibly different versions of those compilers).

No one's speaking about pattern recognition.

If gdb does not automatically step a number of instructions to see whether subsequent code has debug information, you need pattern recognition in gdb to automatically detect such situations and to avoid the problem you described (gdb skipping or stepping over such code, rather than stepping into it). See this thread: http://sourceware.org/ml/gdb/2009-04/msg00008.html



Jonas



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