diff options
author | Daniel Jacobowitz <drow@false.org> | 2004-01-31 19:18:13 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2004-01-31 19:18:13 +0000 |
commit | 4fa8626cb388768f8f4a1e414597b7d260e65a91 (patch) | |
tree | feef707f27a400a8481c823aba4036877134571e /gdb/breakpoint.h | |
parent | fad0733a64e6fe0c4931c183e5ca13631f9272d7 (diff) | |
download | gdb-4fa8626cb388768f8f4a1e414597b7d260e65a91.zip gdb-4fa8626cb388768f8f4a1e414597b7d260e65a91.tar.gz gdb-4fa8626cb388768f8f4a1e414597b7d260e65a91.tar.bz2 |
* 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.
Diffstat (limited to 'gdb/breakpoint.h')
-rw-r--r-- | gdb/breakpoint.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/breakpoint.h b/gdb/breakpoint.h index 85cc8b9..2be0bb0 100644 --- a/gdb/breakpoint.h +++ b/gdb/breakpoint.h @@ -605,6 +605,8 @@ extern enum breakpoint_here breakpoint_here_p (CORE_ADDR); extern int breakpoint_inserted_here_p (CORE_ADDR); +extern int software_breakpoint_inserted_here_p (CORE_ADDR); + /* FIXME: cagney/2002-11-10: The current [generic] dummy-frame code implements a functional superset of this function. The only reason it hasn't been removed is because some architectures still don't |