From 1ee870c5249864d36717a08864c60d7166b6b292 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Tue, 10 Oct 2017 18:12:06 -0600 Subject: Constify add_com_suppress_notification This constifies add_com_suppress_notification and fixes the one caller. gdb/ChangeLog 2017-11-07 Tom Tromey * stack.c (select_frame_command): Constify. * cli/cli-decode.c (add_com_suppress_notification): Constify. * command.h (add_com_suppress_notification): Constify. --- gdb/stack.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/stack.c') 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 (); -- cgit v1.1