2007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
authorPierre Muller <muller@sourceware.org>
Mon, 8 Oct 2007 15:23:42 +0000 (15:23 +0000)
committerPierre Muller <muller@sourceware.org>
Mon, 8 Oct 2007 15:23:42 +0000 (15:23 +0000)
        * breakpoint.c (print_one_breakpoint_location): ARI fix:
Replace asprintf by xstrprintf.

gdb/ChangeLog
gdb/breakpoint.c

index b4fbe6829e9862e627725f3044c6b620fbe1098f..175ab2ca5f12d05189bfc1abc7bdf95a504e3a3a 100644 (file)
@@ -1,3 +1,8 @@
+2007-10-08  Pierre Muller  <muller@ics.u-strasbg.fr>
+
+        * breakpoint.c (print_one_breakpoint_location): ARI fix: 
+       Replace asprintf by xstrprintf.
+
 2007-10-08  Pierre Muller  <muller@ics.u-strasbg.fr>
 
        * linux-fork.c: ARI fix: include "gdb_dirent.h" instead of <dirent.h>.
index e4fdb3358d11bb8a8262b53b19edfb561a798835..a5990ba9a01c0383dc4e5bfa2bf4166680efb2eb 100644 (file)
@@ -3526,7 +3526,7 @@ print_one_breakpoint_location (struct breakpoint *b,
   if (part_of_multiple)
     {
       char *formatted;
-      asprintf (&formatted, "%d.%d", b->number, loc_number);
+      formatted = xstrprintf ("%d.%d", b->number, loc_number);
       ui_out_field_string (uiout, "number", formatted);
       xfree (formatted);
     }
This page took 0.03699 seconds and 4 git commands to generate.