From: Andreas Schwab Date: Mon, 30 Jun 2003 21:40:05 +0000 (+0000) Subject: * utils.c (internal_vproblem): Use xvasprintf, not xasprintf, to X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1ad828f1985eff39fbe4088d2a30c2f065ebc562;p=binutils-gdb.git * utils.c (internal_vproblem): Use xvasprintf, not xasprintf, to format error message. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 5903fedb84b..c64b83ceb5e 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2003-06-30 Andreas Schwab + + * utils.c (internal_vproblem): Use xvasprintf, not xasprintf, to + format error message. + 2003-06-30 Joel Brobecker * sparc-tdep.c (stop_after_trap): Remove declaration, not used. diff --git a/gdb/utils.c b/gdb/utils.c index 0817353d339..4dfe89b6428 100644 --- a/gdb/utils.c +++ b/gdb/utils.c @@ -724,7 +724,7 @@ internal_vproblem (struct internal_problem *problem, so that the user knows that they are living on the edge. */ { char *msg; - xasprintf (&msg, fmt, ap); + xvasprintf (&msg, fmt, ap); xasprintf (&reason, "\ %s:%d: %s: %s\n\ A problem internal to GDB has been detected,\n\