This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Breakpoints in dynamically loaded objects
- To: Tom Tromey <tromey at cygnus dot com>
- Subject: Re: Breakpoints in dynamically loaded objects
- From: Eli Zaretskii <eliz at is dot elta dot co dot il>
- Date: Wed, 5 Sep 2001 13:21:41 +0300 (IDT)
- cc: gdb at sources dot redhat dot com
On 8 May 2000, Tom Tromey wrote:
> And, because of the need to "finish" on that second breakpoint before
> enabling the JNI breakpoint, you can't automate it.
Is that because GDB cannot run the debuggee from breakpoint commands?
If so, I suggested patches to allow that (a long time ago). Michael
Snyder asked for lots of testing before it could be accepted, so it got
buried under the backlog.
Maybe we should revive that again. I still have the patches, although by
now they must have suffered from some bitrot. But it shouldn't be hard
to retrofit them, since the changes were quite simple (in a nutshell, GDB
uses a bunch of static variables to control the debuggee, and running the
inferior from a breakpoint command overwrites some of these variables).