aboutsummaryrefslogtreecommitdiff
path: root/gdb/tui
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2017-09-09 21:51:10 -0600
committerTom Tromey <tom@tromey.com>2017-09-27 08:44:38 -0600
commite2d8ae16c0c9a4f6c61ddb9af3d6ec8b2b71db2a (patch)
tree896fc8fd3e0b8c2ab7667b3723217e48f8f23d9d /gdb/tui
parent863779b0c64917a1580a9e505762642ef5833575 (diff)
downloadfsf-binutils-gdb-e2d8ae16c0c9a4f6c61ddb9af3d6ec8b2b71db2a.zip
fsf-binutils-gdb-e2d8ae16c0c9a4f6c61ddb9af3d6ec8b2b71db2a.tar.gz
fsf-binutils-gdb-e2d8ae16c0c9a4f6c61ddb9af3d6ec8b2b71db2a.tar.bz2
Constify tui_reg_command
gdb/ChangeLog 2017-09-27 Tom Tromey <tom@tromey.com> * tui/tui-regs.c (tui_reg_command): Constify.
Diffstat (limited to 'gdb/tui')
-rw-r--r--gdb/tui/tui-regs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/tui/tui-regs.c b/gdb/tui/tui-regs.c
index 838172e..be735b3 100644
--- a/gdb/tui/tui-regs.c
+++ b/gdb/tui/tui-regs.c
@@ -600,7 +600,7 @@ tui_reg_prev (struct gdbarch *gdbarch)
not already on display. */
static void
-tui_reg_command (char *args, int from_tty)
+tui_reg_command (const char *args, int from_tty)
{
struct gdbarch *gdbarch = get_current_arch ();