* Fix internal_vproblem
@ 2003-06-30 21:34 Andreas Schwab
0 siblings, 0 replies; only message in thread
From: Andreas Schwab @ 2003-06-30 21:34 UTC (permalink / raw)
To: gdb-patches
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\
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-06-30 21:34 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-06-30 21:34 Fix internal_vproblem Andreas Schwab
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox