]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* utils.c (internal_vproblem): Use xvasprintf, not xasprintf, to
authorAndreas Schwab <schwab@linux-m68k.org>
Mon, 30 Jun 2003 21:38:35 +0000 (21:38 +0000)
committerAndreas Schwab <schwab@linux-m68k.org>
Mon, 30 Jun 2003 21:38:35 +0000 (21:38 +0000)
format error message.

gdb/ChangeLog
gdb/utils.c

index 7e125713c62396563af451f98cfad537156967b9..178b96219ac6fd6b788e1d6bdd35b44c4d22e124 100644 (file)
@@ -1,3 +1,8 @@
+2003-06-30  Andreas Schwab  <schwab@suse.de>
+
+       * utils.c (internal_vproblem): Use xvasprintf, not xasprintf, to
+       format error message.
+
 2003-06-30  David Carlton  <carlton@kealia.com>
 
        Band-aid for PR c++/1245.
index 0817353d33984e7f17c1992d38b1336f456caf19..4dfe89b6428661c1f6f3511202eb52ef23358519 100644 (file)
@@ -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\