* utils.c (internal_vproblem): Use xvasprintf, not xasprintf, to
format error message.
This commit is contained in:
parent
39b00981ac
commit
1ad828f198
2 changed files with 6 additions and 1 deletions
|
@ -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.
|
||||
|
|
|
@ -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\
|
||||
|
|
Loading…
Reference in a new issue