OSDN Git Service
(root)
/
pf3gnuchains
/
pf3gnuchains4x.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b930df7
)
* utils.c (internal_vproblem): Use xvasprintf, not xasprintf, to
author
Andreas Schwab
<schwab@suse.de>
Mon, 30 Jun 2003 21:40:05 +0000
(21:40 +0000)
committer
Andreas Schwab
<schwab@suse.de>
Mon, 30 Jun 2003 21:40:05 +0000
(21:40 +0000)
format error message.
gdb/ChangeLog
patch
|
blob
|
history
gdb/utils.c
patch
|
blob
|
history
diff --git
a/gdb/ChangeLog
b/gdb/ChangeLog
index
5903fed
..
c64b83c
100644
(file)
--- a/
gdb/ChangeLog
+++ b/
gdb/ChangeLog
@@
-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.
diff --git
a/gdb/utils.c
b/gdb/utils.c
index
0817353
..
4dfe89b
100644
(file)
--- a/
gdb/utils.c
+++ b/
gdb/utils.c
@@
-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);
+ x
v
asprintf (&msg, fmt, ap);
xasprintf (&reason, "\
%s:%d: %s: %s\n\
A problem internal to GDB has been detected,\n\