diff options
author | Tom Tromey <tom@tromey.com> | 2017-10-12 08:08:00 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2017-11-07 13:59:09 -0700 |
commit | 022643b4456ee13752b0f3a8411238ab8c53bf6d (patch) | |
tree | 1df02cea8b23cbf647bbdb175c916a21ac9d9037 /gdb/ChangeLog | |
parent | 5614fb77203f5ea01edfb2d739e9d4f3d570dc09 (diff) | |
download | gdb-022643b4456ee13752b0f3a8411238ab8c53bf6d.zip gdb-022643b4456ee13752b0f3a8411238ab8c53bf6d.tar.gz gdb-022643b4456ee13752b0f3a8411238ab8c53bf6d.tar.bz2 |
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.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index d8d956f..ce8110f 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,10 @@ 2017-11-07 Tom Tromey <tom@tromey.com> + * stack.c (backtrace_command): Use std::string. + (backtrace_command_1): Make "count_exp" const. + +2017-11-07 Tom Tromey <tom@tromey.com> + * source.c (directory_switch, mod_path, add_path): Constify. * defs.h (add_path, mod_path, directory_switch): Constify. * mi/mi-cmd-env.c (env_mod_path): Constify. |