]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/sparc-tdep.c
* breakpoint.h (struct breakpoint): New member GDBARCH.
[thirdparty/binutils-gdb.git] / gdb / sparc-tdep.c
index 2b87d779cd35ba3da06482d89290c4d6e200b8d2..04343d68a7beb0622255d76edb9df354e099a4c6 100644 (file)
@@ -1314,10 +1314,10 @@ sparc_software_single_step (struct frame_info *frame)
   /* Analyze the instruction at PC.  */
   nnpc = sparc_analyze_control_transfer (frame, pc, &npc);
   if (npc != 0)
-    insert_single_step_breakpoint (npc);
+    insert_single_step_breakpoint (arch, npc);
 
   if (nnpc != 0)
-    insert_single_step_breakpoint (nnpc);
+    insert_single_step_breakpoint (arch, nnpc);
 
   /* Assert that we have set at least one breakpoint, and that
      they're not set at the same spot - unless we're going