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:
Keith Seitz wrote:
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



Good news to read this. Is it possible to tell me what to do to get the snapshot? I've never done this before, I've always downloaded the sources from Sourceforge and compiled these.
I have TortoiseSVN running on Windows, if that could be a starting point...


*Best rgds,

Geert
*

Sorry, I was too fast in typing. I didn't mean Sourceforge, but the download section of the Insight web site...

In the mean time, I've seen the CVS commands are given on that same page too (http://sourceware.org/insight/downloads.php), so I'll have a look at this first.

Unless it's the wrong place I'm looking at, of course...

--
*Best rgds,

Geert
*


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