This is the mail archive of the
insight@sourceware.org
mailing list for the Insight project.
Re: Problems with function pointers in C++
- From: Geert Vancompernolle <geert dot vancompernolle at gmail dot com>
- To: Geert Vancompernolle <gvcompernolle at scarlet dot be>
- Cc: Keith Seitz <keiths at redhat dot com>, Insight Foum <insight at sourceware dot org>
- Date: Mon, 18 Feb 2008 05:06:06 +0100
- Subject: Re: Problems with function pointers in C++
- References: <47B84753.1070905@gmail.com> <47B88CF1.9090905@redhat.com> <47B90361.4060700@scarlet.be>
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
*