* alpha-tdep.c (alpha_software_single_step): Do not call write_pc
authorUlrich Weigand <uweigand@de.ibm.com>
Sat, 14 Apr 2007 16:17:39 +0000 (16:17 +0000)
committerUlrich Weigand <uweigand@de.ibm.com>
Sat, 14 Apr 2007 16:17:39 +0000 (16:17 +0000)
when removing single-step breakpoints.

gdb/ChangeLog
gdb/alpha-tdep.c

index 7c0cc5203f950c482968d4e2d4b24701bda10e14..59463e90626a7005e3189f5481ad03082f5cab84 100644 (file)
@@ -1,3 +1,8 @@
+2007-04-14  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * alpha-tdep.c (alpha_software_single_step): Do not call write_pc
+       when removing single-step breakpoints.
+
 2007-04-14  Vladimir Prus  <vladimir@codesourcery.com>
 
        * varobj.h (varobj_set_frozen): New
index 9c7b621c1795629b13b781a73ae2c921c7c6abbc..1c8f95d8e7b35fa01209e98ae5063a35063b7e2f 100644 (file)
@@ -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;
 }