Remove cleanup from backtrace_command
authorTom Tromey <tom@tromey.com>
Thu, 12 Oct 2017 14:08:00 +0000 (08:08 -0600)
committerTom Tromey <tom@tromey.com>
Tue, 7 Nov 2017 20:59:09 +0000 (13:59 -0700)
commit022643b4456ee13752b0f3a8411238ab8c53bf6d
tree1df02cea8b23cbf647bbdb175c916a21ac9d9037
parent5614fb77203f5ea01edfb2d739e9d4f3d570dc09
Remove cleanup from backtrace_command

This removes a cleanup from backtrace_command, replacing it with
std::string.  This patch temporarily changes backtrace_command so that
the parameter is named "args_in" and is immediately constified; this
is fixed again in the constification patch.

gdb/ChangeLog
2017-11-07  Tom Tromey  <tom@tromey.com>

* stack.c (backtrace_command): Use std::string.
(backtrace_command_1): Make "count_exp" const.
gdb/ChangeLog
gdb/stack.c