This is the mail archive of the gdb-cvs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[binutils-gdb] Constify unwind_command


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

commit c482f52ccfbd5609aef5482fb0872545bdcabaf2
Author: Tom Tromey <tom@tromey.com>
Date:   Sat Sep 9 21:52:56 2017 -0600

    Constify unwind_command
    
    gdb/ChangeLog
    2017-09-27  Tom Tromey  <tom@tromey.com>
    
    	* hppa-tdep.c (unwind_command): Constify.

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

diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index e67d380..acdd73a 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
 2017-09-27  Tom Tromey  <tom@tromey.com>
 
+	* hppa-tdep.c (unwind_command): Constify.
+
+2017-09-27  Tom Tromey  <tom@tromey.com>
+
 	* target-descriptions.c (unset_tdesc_filename_cmd)
 	(maint_print_c_tdesc_cmd, maintenance_check_xml_descriptions):
 	Constify.
diff --git a/gdb/hppa-tdep.c b/gdb/hppa-tdep.c
index 1a04588..141399f 100644
--- a/gdb/hppa-tdep.c
+++ b/gdb/hppa-tdep.c
@@ -2572,7 +2572,7 @@ hppa_lookup_stub_minimal_symbol (const char *name,
 }
 
 static void
-unwind_command (char *exp, int from_tty)
+unwind_command (const char *exp, int from_tty)
 {
   CORE_ADDR address;
   struct unwind_table_entry *u;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]