* spu-tdep.c (spu_catch_start): Pass non-NULL breakpoint ops
authorUlrich Weigand <uweigand@de.ibm.com>
Wed, 26 Oct 2011 17:26:29 +0000 (17:26 +0000)
committerUlrich Weigand <uweigand@de.ibm.com>
Wed, 26 Oct 2011 17:26:29 +0000 (17:26 +0000)
to create_breakpoint.

gdb/ChangeLog
gdb/spu-tdep.c

index a88b3874f56f9a5fb96fdf5d4b20a4b7306042cc..e75459186787e51d1781e0ad049804a3f7d59592 100644 (file)
@@ -1,3 +1,8 @@
+2011-10-26  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * spu-tdep.c (spu_catch_start): Pass non-NULL breakpoint ops
+       to create_breakpoint.
+
 2011-10-26  Ulrich Weigand  <uweigand@de.ibm.com>
 
        * ppc-sysv-tdep.c (ppc_sysv_use_opencl_abi): New function.
index 570809f3fc2f7a2ce2e610ea3a3aacc76101d105..d42d94b1e9cf3b348e61bfba89207a8f688a58b0 100644 (file)
@@ -1939,8 +1939,8 @@ spu_catch_start (struct objfile *objfile)
                     bp_breakpoint /* type_wanted */,
                     0 /* ignore_count */,
                     AUTO_BOOLEAN_FALSE /* pending_break_support */,
-                    NULL /* ops */, 0 /* from_tty */, 1 /* enabled */,
-                    0 /* internal  */);
+                    &bkpt_breakpoint_ops /* ops */, 0 /* from_tty */,
+                    1 /* enabled */, 0 /* internal  */);
 }