This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
Re: RFA: revised implementation of permanent breakpoints
- To: jimb AT cygnus dot com
- Subject: Re: RFA: revised implementation of permanent breakpoints
- From: Stan Shebs <shebs AT cygnus dot com>
- Date: Mon, 13 Sep 1999 15:45:03 -0700
- CC: msnyder AT cygnus dot com, jingham AT cygnus dot com, gdb-patches AT sourceware.cygnus dot com
Date: Mon, 13 Sep 1999 13:17:28 -0500 (EST)
From: Jim Blandy <jimb@cygnus.com>
Here is a revised implementation permanent breakpoints, which includes
the ability to continue past a permanent breakpoint, if the target
provides a macro explaining how to advance the PC past a breakpoint
instruction.
This all looks reasonable, if Michael and Jim I. are happy with their
respective bits. A possibly-interesting use relates to stubbed
programs that implement a breakpoint() function, which is effectively
a permanent breakpoint. Don't know if it would be really important,
since in practice users will tend to arrange their code so that
breakpoint() only ever gets called once.
Stan