mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-28 20:43:45 +08:00
2007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
* breakpoint.c (print_one_breakpoint_location): ARI fix: Replace asprintf by xstrprintf.
This commit is contained in:
parent
91c066694a
commit
0c6773c14a
@ -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>.
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user