Replace xstrvprintf usages with string_vprintf
authorSimon Marchi <simon.marchi@polymtl.ca>
Wed, 22 Aug 2018 14:55:28 +0000 (10:55 -0400)
committerSimon Marchi <simon.marchi@ericsson.com>
Wed, 22 Aug 2018 14:55:28 +0000 (10:55 -0400)
commit467dc1e2ea5a8b300b61194aa8565829ce7d65bc
tree8e7a937f9c0a1c739b9d2bef6ddd9c0a9a0dca38
parent6d52907e226ade45d5f5196eaed8386affda5156
Replace xstrvprintf usages with string_vprintf

Most usages of xstrvprintf in GDB can be replaced with string_vprintf,
removing some manual memory management.

gdb/ChangeLog:

* guile/scm-string.c (gdbscm_scm_from_printf): Use
string_vprintf.
* guile/scm-utils.c (gdbscm_printf): Likewise.
* serial.c (serial_printf): Likewise.
* xml-support.c (gdb_xml_parser::vdebug): Likewise.
gdb/ChangeLog
gdb/guile/scm-string.c
gdb/guile/scm-utils.c
gdb/serial.c
gdb/xml-support.c
This page took 0.02525 seconds and 4 git commands to generate.