Use obstack_grow_str
authorYao Qi <yao.qi@linaro.org>
Wed, 28 Jun 2017 13:48:55 +0000 (14:48 +0100)
committerYao Qi <yao.qi@linaro.org>
Wed, 28 Jun 2017 14:00:27 +0000 (15:00 +0100)
commitbc491f2e76df1f2cec877eb07e88209b609ddecf
tree872c82569e3fcc09155e199b14f4ba95bc66f675
parent88305e1b9f4592a2ab129015ce409fcc16613ebb
Use obstack_grow_str

We already have macro obstack_grow_str, which is helpful to shorten the
code.

gdb:

2017-06-28  Yao Qi  <yao.qi@linaro.org>

* mi/mi-cmd-break.c (mi_argv_to_format): Use obstack_grow_str
instead of obstack_grow.
gdb/ChangeLog
gdb/mi/mi-cmd-break.c