Use std::string in maybe_expand
authorTom Tromey <tom@tromey.com>
Tue, 6 Feb 2018 19:11:21 +0000 (12:11 -0700)
committerTom Tromey <tom@tromey.com>
Thu, 8 Feb 2018 18:46:56 +0000 (11:46 -0700)
commit0354904bdacb9bf1ebdf3ebdf3723f8a550bcdab
treeaded66019a133a97c2526f1a0566e97ed77f7f4a
parent1739cf248ff21b21271d1e9d5f77a12589c3856c
Use std::string in maybe_expand

This patch changes maybe_expand to use std::string rather than an
explicit malloc and a cleanup.

2018-02-08  Tom Tromey  <tom@tromey.com>

* macroexp.c (maybe_expand): Use std::string.
gdb/ChangeLog
gdb/macroexp.c
This page took 0.024904 seconds and 4 git commands to generate.