how to align breakpoint address

Kevin Buettner kevinb@redhat.com
Sat Jul 14 00:55:00 GMT 2007


You could try adding an `adjust_breakpoint_address' method for your
port.  See frv_adjust_breakpoint_address() in frv-tdep.c for an
example.

That said, it's probably better to assume that the GDB user knows
what he (or she) is doing and allow the breakpoint to be placed at
the user specified location.  Most breakpoints are placed using symbolic
addresses, so this is usually not a problem.

Kevin



More information about the Gdb mailing list