From d8c09fb595c4ad7ea517ec2bed1458bd18782b37 Mon Sep 17 00:00:00 2001 From: Jan Kratochvil Date: Wed, 17 Mar 2010 13:38:56 +0000 Subject: [PATCH] gdb/ * spu-tdep.c (spu_catch_start): Replace set_breakpoint call with the create_breakpoint call, adjust the parameters. --- gdb/ChangeLog | 5 +++++ gdb/spu-tdep.c | 12 +++++++----- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index ed02929..6afa41d 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2010-03-17 Jan Kratochvil + + * spu-tdep.c (spu_catch_start): Replace set_breakpoint call with the + create_breakpoint call, adjust the parameters. + 2010-03-16 Jan Kratochvil Chandru diff --git a/gdb/spu-tdep.c b/gdb/spu-tdep.c index 17995db..ae64841 100644 --- a/gdb/spu-tdep.c +++ b/gdb/spu-tdep.c @@ -1863,11 +1863,13 @@ spu_catch_start (struct objfile *objfile) /* Use a numerical address for the set_breakpoint command to avoid having the breakpoint re-set incorrectly. */ xsnprintf (buf, sizeof buf, "*%s", core_addr_to_string (pc)); - set_breakpoint (get_objfile_arch (objfile), - buf, NULL /* condition */, - 0 /* hardwareflag */, 1 /* tempflag */, - -1 /* thread */, 0 /* ignore_count */, - 0 /* pending */, 1 /* enabled */); + create_breakpoint (get_objfile_arch (objfile), buf /* arg */, + NULL /* cond_string */, -1 /* thread */, + 0 /* parse_condition_and_thread */, 1 /* tempflag */, + 0 /* hardwareflag */, 0 /* traceflag */, + 0 /* ignore_count */, + AUTO_BOOLEAN_FALSE /* pending_break_support */, + NULL /* ops */, 0 /* from_tty */, 1 /* enabled */); } -- 2.7.4