This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [PATCH RFA] TARGET_ADJUST_BREAKPOINT_ADDRESS...
- To: Kevin Buettner <kevinb at cygnus dot com>
- Subject: Re: [PATCH RFA] TARGET_ADJUST_BREAKPOINT_ADDRESS...
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Mon, 18 Sep 2000 13:42:35 -0400
- Cc: gdb-patches at sourceware dot cygnus dot com
- References: <1000621031433.ZM31859@ocotillo.lan>
Kevin,
This change should be ok once Eli's concerns are addressed.
Is that same (breakpoint moved) information included when doing an info
breakpoints?
Andrew
PS: This gdbarch vector would also need to be defined in
gdb/doc/gdbint.tex* and the semantics of the existing breakpoint from PC
adjusted to be clear that it adjusts addresses within an instruction
while this moves breakpoints to somewhere notionally outside of an
instruction.
I'd also include in the documentation the point that this (adjust
breakpoint address) is _not_ for pulling hacks such as moving the
breakpoint to a different arbitrary address. A generic VLSI of where it
is useful will help.
enjoy,
Andrew
PPS: http://sources.redhat.com/ml/gdb-patches/2000-06/msg00257.html