OSDN Git Service

* utils.c (internal_vproblem): Use xvasprintf, not xasprintf, to
authorAndreas Schwab <schwab@suse.de>
Mon, 30 Jun 2003 21:40:05 +0000 (21:40 +0000)
committerAndreas Schwab <schwab@suse.de>
Mon, 30 Jun 2003 21:40:05 +0000 (21:40 +0000)
format error message.

gdb/ChangeLog
gdb/utils.c

index 5903fed..c64b83c 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  Joel Brobecker  <brobecker@gnat.com>
 
        * sparc-tdep.c (stop_after_trap): Remove declaration, not used.
index 0817353..4dfe89b 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\