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: how to align breakpoint address


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


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