Introduce string_vprintf
authorTom Tromey <tom@tromey.com>
Thu, 28 Sep 2017 13:44:50 +0000 (07:44 -0600)
committerTom Tromey <tom@tromey.com>
Sat, 30 Sep 2017 02:46:42 +0000 (20:46 -0600)
commitbd413795d364d3bed8dbb8c596cb45c82ed31041
treea5ab5045c72498fe96689c39d2d6abd192e6ce1b
parent8b5b25295998e10723bd51d127c87249a779f628
Introduce string_vprintf

This adds string_vprintf, a va_list variant of string_printf.  This
will be used in later patches.

gdb/ChangeLog
2017-09-29  Tom Tromey  <tom@tromey.com>

* unittests/common-utils-selftests.c (format): New function.
(string_vprintf_tests): New function.
(_initialize_common_utils_selftests): Register new tests.
* common/common-utils.c (string_vprintf): New function.
* common/common-utils.h (string_vprintf): Declare.
gdb/ChangeLog
gdb/common/common-utils.c
gdb/common/common-utils.h
gdb/unittests/common-utils-selftests.c
This page took 0.024849 seconds and 4 git commands to generate.