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: Breakpoint not hit because of function pointers or something similar


>>>>> "Anton" == Anton MOUKHARSKI <anton.moukharski@cea.fr> writes:

Anton> Platform is Mandriva Linux release 2008.0 (Official) for i586 Kernel
Anton> 2.6.22.19-desktop-2mdv. Gdb version is GNU gdb 6.6-3.1mdv2008.0 (Mandriva
Anton> Linux release 2008.0).

6.6 is rather old.  I would suggest upgrading first.

Anton> Again, the problem seems to be that the function in which I put
Anton> my breakpoint is called via a function-pointer (ip2 in the code
Anton> below); the function which is called below the call of
Anton> "process.execute()" is determined at execution time.

We will need a small, self-contained example showing the problem.

To my knowledge, gdb does not get confused if functions are called via
pointers.  That works just fine when I am debugging gdb itself, for
instance.

Tom


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