aboutsummaryrefslogtreecommitdiff
path: root/gdb/stack.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2017-10-10 18:12:06 -0600
committerTom Tromey <tom@tromey.com>2017-11-07 13:59:08 -0700
commit1ee870c5249864d36717a08864c60d7166b6b292 (patch)
treeff5d133249c44d7f26682c5bd5a71cdc770f60a4 /gdb/stack.c
parentee7ddd713206fdf02512a9fb3fe928a210200c11 (diff)
downloadgdb-1ee870c5249864d36717a08864c60d7166b6b292.zip
gdb-1ee870c5249864d36717a08864c60d7166b6b292.tar.gz
gdb-1ee870c5249864d36717a08864c60d7166b6b292.tar.bz2
Constify add_com_suppress_notification
This constifies add_com_suppress_notification and fixes the one caller. gdb/ChangeLog 2017-11-07 Tom Tromey <tom@tromey.com> * stack.c (select_frame_command): Constify. * cli/cli-decode.c (add_com_suppress_notification): Constify. * command.h (add_com_suppress_notification): Constify.
Diffstat (limited to 'gdb/stack.c')
-rw-r--r--gdb/stack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/stack.c b/gdb/stack.c
index 42cb736..24fad3c 100644
--- a/gdb/stack.c
+++ b/gdb/stack.c
@@ -2270,7 +2270,7 @@ find_relative_frame (struct frame_info *frame, int *level_offset_ptr)
expressions. */
void
-select_frame_command (char *level_exp, int from_tty)
+select_frame_command (const char *level_exp, int from_tty)
{
struct frame_info *prev_frame = get_selected_frame_if_set ();