OSDN Git Service

* breakpoint.h (struct breakpoint): Add new member
authorKevin Buettner <kevinb@redhat.com>
Mon, 13 Oct 2003 23:53:20 +0000 (23:53 +0000)
committerKevin Buettner <kevinb@redhat.com>
Mon, 13 Oct 2003 23:53:20 +0000 (23:53 +0000)
commit563e51497d6937a6632342d30f2f87d08e96f8f3
treec00942696bc6c6684fb9239d94002e831c0be145
parentdf04e4e269692417f8f4ff9c16768478a2e0cb42
* breakpoint.h (struct breakpoint): Add new member
``requested_address''.
* breakpoint.c (breakpoint_adjustment_warning)
(adjust_breakpoint_address): New static functions.
(print_it_typical): Issue warning if breakpoint's address is different
from its requested address.
(set_raw_breakpoint, set_longjmp_resume_breakpoint, watch_command_1)
(breakpoint_re_set_one):  Set breakpoint's
``requested_address'' field.  Set ``address'' field to the
result of calling adjust_breakpoint_address() on the requested
address.
gdb/ChangeLog
gdb/breakpoint.c
gdb/breakpoint.h