* breakpoint.c (software_breakpoint_inserted_here_p): New function.
authorDaniel Jacobowitz <drow@false.org>
Sat, 31 Jan 2004 19:18:13 +0000 (19:18 +0000)
committerDaniel Jacobowitz <drow@false.org>
Sat, 31 Jan 2004 19:18:13 +0000 (19:18 +0000)
commit4fa8626cb388768f8f4a1e414597b7d260e65a91
treefeef707f27a400a8481c823aba4036877134571e
parentfad0733a64e6fe0c4931c183e5ca13631f9272d7
* breakpoint.c (software_breakpoint_inserted_here_p): New function.
(bpstat_stop_status): Don't decrement PC.
* breakpoint.h (software_breakpoint_inserted_here_p): Add
prototype.
* infrun.c (adjust_pc_after_break): New function.
(handle_inferior_event): Call it, early.  Remove later references
to DECR_PC_AFTER_BREAK.
(normal_stop): Add commentary.
gdb/ChangeLog
gdb/breakpoint.c
gdb/breakpoint.h
gdb/infrun.c