This is the mail archive of the insight@sourceware.org mailing list for the Insight 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: Problems with function pointers in C++


Geert Vancompernolle wrote:
However, when trying to use the same "S" command when the C++ function pointers are handled, the debugger refuses to step into the functions "DoIt" and "DoItMore" from the class TMyClass. Even stepping over the call (using "N") does not work.
I have to put a breakpoint just after the calls (on the lines containing the printf statements) and press "C" to continue debugging.

This is a bug in gdb. I've checked your test case against CVS HEAD, and it can step into function pointers. Try a snapshot or build from CVS HEAD.


Keith


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