summaryrefslogtreecommitdiff
path: root/gdb/breakpoint.c
diff options
context:
space:
mode:
authorPierre Muller <muller@ics.u-strasbg.fr>2007-10-08 15:23:42 +0000
committerPierre Muller <muller@ics.u-strasbg.fr>2007-10-08 15:23:42 +0000
commit133df48815f154c8c82387091079fc746b714c65 (patch)
tree83e3ae222af7804441e2dd6d67a2f3a05ce7df3a /gdb/breakpoint.c
parent912750030c715cab51e6c96b601d727d3057c4d4 (diff)
downloadgdb-133df48815f154c8c82387091079fc746b714c65.tar.gz
2007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
* breakpoint.c (print_one_breakpoint_location): ARI fix: Replace asprintf by xstrprintf.
Diffstat (limited to 'gdb/breakpoint.c')
-rw-r--r--gdb/breakpoint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c
index e4fdb3358d1..a5990ba9a01 100644
--- a/gdb/breakpoint.c
+++ b/gdb/breakpoint.c
@@ -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);
}