public inbox for gdb-cvs@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] Constify tui_reg_command
@ 2017-09-27 14:56 Tom Tromey
  0 siblings, 0 replies; only message in thread
From: Tom Tromey @ 2017-09-27 14:56 UTC (permalink / raw)
  To: gdb-cvs

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=e2d8ae16c0c9a4f6c61ddb9af3d6ec8b2b71db2a

commit e2d8ae16c0c9a4f6c61ddb9af3d6ec8b2b71db2a
Author: Tom Tromey <tom@tromey.com>
Date:   Sat Sep 9 21:51:10 2017 -0600

    Constify tui_reg_command
    
    gdb/ChangeLog
    2017-09-27  Tom Tromey  <tom@tromey.com>
    
    	* tui/tui-regs.c (tui_reg_command): Constify.

Diff:
---
 gdb/ChangeLog      | 4 ++++
 gdb/tui/tui-regs.c | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 6317f3e..b552307 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
 2017-09-27  Tom Tromey  <tom@tromey.com>
 
+	* tui/tui-regs.c (tui_reg_command): Constify.
+
+2017-09-27  Tom Tromey  <tom@tromey.com>
+
 	* skip.c (skip_file_command, skip_function_command)
 	(skip_enable_command, skip_disable_command, skip_delete_command):
 	Constify.
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 ();


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-09-27 14:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-27 14:56 [binutils-gdb] Constify tui_reg_command Tom Tromey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).