This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Fix internal_vproblem
- From: Andreas Schwab <schwab at suse dot de>
- To: gdb-patches at sources dot redhat dot com
- Date: 30 Jun 2003 23:33:38 +0200
- Subject: Fix internal_vproblem
Committing as obvious, both HEAD and 6.0 branch.
Andreas.
2003-06-30 Andreas Schwab <schwab@suse.de>
* utils.c (internal_vproblem): Use xvasprintf, not xasprintf, to
format error message.
--- gdb/utils.c.~1.102.~ 2003-06-26 23:00:19.000000000 +0200
+++ gdb/utils.c 2003-06-30 22:58:14.000000000 +0200
@@ -724,7 +724,7 @@ internal_vproblem (struct internal_probl
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\