diff options
author | Andrew Cagney <cagney@redhat.com> | 2001-03-20 18:16:28 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2001-03-20 18:16:28 +0000 |
commit | b0ed35899ae041089835beeb35336494bb50f1d8 (patch) | |
tree | 56d4c7b90469b165c1ad35ca636749c97f9f4d3e /gdb/breakpoint.c | |
parent | df087c6239615ba608ed660d3f85de505e8d441e (diff) | |
download | gdb-b0ed35899ae041089835beeb35336494bb50f1d8.zip gdb-b0ed35899ae041089835beeb35336494bb50f1d8.tar.gz gdb-b0ed35899ae041089835beeb35336494bb50f1d8.tar.bz2 |
Change SOFTWARE_SINGLE_STEP_P into SOFTWARE_SINGLE_STEP_P().
Diffstat (limited to 'gdb/breakpoint.c')
-rw-r--r-- | gdb/breakpoint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c index 5382b15..5eb1fa4 100644 --- a/gdb/breakpoint.c +++ b/gdb/breakpoint.c @@ -2395,7 +2395,7 @@ bpstat_stop_status (CORE_ADDR *pc, int not_a_breakpoint) char message[sizeof (message1) + 30 /* slop */ ]; /* Get the address where the breakpoint would have been. */ - bp_addr = *pc - (not_a_breakpoint && !SOFTWARE_SINGLE_STEP_P ? + bp_addr = *pc - (not_a_breakpoint && !SOFTWARE_SINGLE_STEP_P () ? 0 : DECR_PC_AFTER_BREAK); ALL_BREAKPOINTS_SAFE (b, temp) |