From 931bb47f455fbc152330c510688c58699deef171 Mon Sep 17 00:00:00 2001 From: Ulrich Weigand Date: Wed, 26 Oct 2011 17:26:29 +0000 Subject: [PATCH] * spu-tdep.c (spu_catch_start): Pass non-NULL breakpoint ops to create_breakpoint. --- gdb/ChangeLog | 5 +++++ gdb/spu-tdep.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a88b3874f56..e7545918678 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2011-10-26 Ulrich Weigand + + * spu-tdep.c (spu_catch_start): Pass non-NULL breakpoint ops + to create_breakpoint. + 2011-10-26 Ulrich Weigand * ppc-sysv-tdep.c (ppc_sysv_use_opencl_abi): New function. diff --git a/gdb/spu-tdep.c b/gdb/spu-tdep.c index 570809f3fc2..d42d94b1e9c 100644 --- a/gdb/spu-tdep.c +++ b/gdb/spu-tdep.c @@ -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 */); } -- 2.30.2