OSDN Git Service

* generic/gdbtk-cmds.c (gdb_get_breakpoint_info): If unable
authorKeith Seitz <keiths@redhat.com>
Mon, 23 Apr 2001 20:27:54 +0000 (20:27 +0000)
committerKeith Seitz <keiths@redhat.com>
Mon, 23 Apr 2001 20:27:54 +0000 (20:27 +0000)
commit562d3a3c18379f2113dc8ebed9a87530aaa7da99
treebd963f869c77f39def5125a35607d4857d156c2d
parent799f89349eba5b3c6379b083fdded15a690bf623
* generic/gdbtk-cmds.c (gdb_get_breakpoint_info): If unable
to find the requested breakpoint for lookup, check if
it is about to be deleted and return information about
that breakpoint.
(gdb_get_tracepoint_info): Ditto for tracepoints.
* generic/gdbtk-hooks.c (gdbtk_deleted_bp): New global.
(gdbtk_delete_breakpoint): Remember the deleted breakpoint
for gdb_get_breakpoint_info, in case it is called during
the event notification.
(gdbtk_delete_tracepoints): Ditto for tracepoints.
gdb/gdbtk/ChangeLog
gdb/gdbtk/generic/gdbtk-cmds.c
gdb/gdbtk/generic/gdbtk-hooks.c