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.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/stack.h') diff --git a/gdb/stack.h b/gdb/stack.h index 3379318..563229f 100644 --- a/gdb/stack.h +++ b/gdb/stack.h @@ -20,7 +20,7 @@ #ifndef STACK_H #define STACK_H -void select_frame_command (char *level_exp, int from_tty); +void select_frame_command (const char *level_exp, int from_tty); gdb::unique_xmalloc_ptr find_frame_funname (struct frame_info *frame, enum language *funlang, -- cgit v1.1