diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2010-03-17 13:38:54 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2010-03-17 13:38:54 +0000 |
commit | b321473ae6f4a1c706bea7bd870d11b746249fb0 (patch) | |
tree | 38b0df4db4c072d62f79240aae83f9a501267098 /gdb/spu-tdep.c | |
parent | 48a790738aa1b8fb22f100e7fedcb0a015d08374 (diff) | |
download | gdb-b321473ae6f4a1c706bea7bd870d11b746249fb0.tar.gz |
gdb/
* spu-tdep.c (spu_catch_start): Replace set_breakpoint call with the
create_breakpoint call, adjust the parameters.
Diffstat (limited to 'gdb/spu-tdep.c')
-rw-r--r-- | gdb/spu-tdep.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/gdb/spu-tdep.c b/gdb/spu-tdep.c index 17995db7ad0..ae648418e9c 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 */); } |