diff options
author | Andrew Cagney <cagney@redhat.com> | 2000-12-15 12:04:03 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2000-12-15 12:04:03 +0000 |
commit | 12859c09a6847f6f1413dbbe0d10e5ebfbded1f2 (patch) | |
tree | 26f384f3e643020cf411002c9e22a4c0cc797f3e /gdb | |
parent | e7b044d6832e9668fc46fa7b304f2d4bce6ab8d4 (diff) | |
download | gdb-12859c09a6847f6f1413dbbe0d10e5ebfbded1f2.zip gdb-12859c09a6847f6f1413dbbe0d10e5ebfbded1f2.tar.gz gdb-12859c09a6847f6f1413dbbe0d10e5ebfbded1f2.tar.bz2 |
vasprintf() -> xvasprintf()
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/serial.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 002273b..af1b262 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +Fri Dec 15 22:58:59 2000 Andrew Cagney <cagney@b1.cygnus.com> + + * serial.c (serial_printf): Call xvasprintf instead of vasprintf. + 2000-12-14 Matthew Green <mrg@eterna.com.au> * solib-svr4.c (solib_break_names): Add NetBSD's `_rtld_debug_state'. diff --git a/gdb/serial.c b/gdb/serial.c index 01c15c6..1d25adf 100644 --- a/gdb/serial.c +++ b/gdb/serial.c @@ -394,7 +394,7 @@ serial_printf (serial_t desc, const char *format,...) char *buf; va_start (args, format); - vasprintf (&buf, format, args); + xvasprintf (&buf, format, args); SERIAL_WRITE (desc, buf, strlen (buf)); xfree (buf); |