aboutsummaryrefslogtreecommitdiff
path: root/gdb/stack.h
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.h
parentee7ddd713206fdf02512a9fb3fe928a210200c11 (diff)
downloadfsf-binutils-gdb-1ee870c5249864d36717a08864c60d7166b6b292.zip
fsf-binutils-gdb-1ee870c5249864d36717a08864c60d7166b6b292.tar.gz
fsf-binutils-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.h')
-rw-r--r--gdb/stack.h2
1 files changed, 1 insertions, 1 deletions
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<char> find_frame_funname (struct frame_info *frame,
enum language *funlang,