aboutsummaryrefslogtreecommitdiff
path: root/gdb/alpha-tdep.c
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2007-04-14 16:17:39 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2007-04-14 16:17:39 +0000
commit06a862851c31bb286d5f8177b9a5db6a65282fb8 (patch)
tree3e16b3738a61d2886754d16e32aab35e2b303dad /gdb/alpha-tdep.c
parent0cc3409506a056370ab1f7d00c1d1e82f7e67644 (diff)
downloadgdb-06a862851c31bb286d5f8177b9a5db6a65282fb8.zip
gdb-06a862851c31bb286d5f8177b9a5db6a65282fb8.tar.gz
gdb-06a862851c31bb286d5f8177b9a5db6a65282fb8.tar.bz2
* alpha-tdep.c (alpha_software_single_step): Do not call write_pc
when removing single-step breakpoints.
Diffstat (limited to 'gdb/alpha-tdep.c')
-rw-r--r--gdb/alpha-tdep.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/alpha-tdep.c b/gdb/alpha-tdep.c
index 9c7b621..1c8f95d 100644
--- a/gdb/alpha-tdep.c
+++ b/gdb/alpha-tdep.c
@@ -1521,7 +1521,7 @@ alpha_next_pc (CORE_ADDR pc)
int
alpha_software_single_step (enum target_signal sig, int insert_breakpoints_p)
{
- static CORE_ADDR next_pc;
+ CORE_ADDR next_pc;
CORE_ADDR pc;
if (insert_breakpoints_p)
@@ -1534,7 +1534,6 @@ alpha_software_single_step (enum target_signal sig, int insert_breakpoints_p)
else
{
remove_single_step_breakpoints ();
- write_pc (next_pc);
}
return 1;
}