* utils.c (internal_vproblem): Use xvasprintf, not xasprintf, to

format error message.
This commit is contained in:
Andreas Schwab 2003-06-30 21:40:05 +00:00
parent 39b00981ac
commit 1ad828f198
2 changed files with 6 additions and 1 deletions

View 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.

View 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\