gdb/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Wed, 17 Mar 2010 13:38:56 +0000 (13:38 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Wed, 17 Mar 2010 13:38:56 +0000 (13:38 +0000)
* spu-tdep.c (spu_catch_start): Replace set_breakpoint call with the
create_breakpoint call, adjust the parameters.

gdb/ChangeLog
gdb/spu-tdep.c

index ed029296ab8f78dee8b18a05c602eb1aca871597..6afa41dfafe2ca8d5f9afe74bfd928362b2dccb4 100644 (file)
@@ -1,3 +1,8 @@
+2010-03-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * spu-tdep.c (spu_catch_start): Replace set_breakpoint call with the
+       create_breakpoint call, adjust the parameters.
+
 2010-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
            Chandru <chandru@in.ibm.com>
 
index 17995db7ad0eeef9a8498026aa09e83620f13142..ae648418e9cb798c84e3207a639b66a956dbe717 100644 (file)
@@ -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 */);
 }