diff options
author | Andrew Cagney <cagney@redhat.com> | 2002-06-19 14:59:47 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2002-06-19 14:59:47 +0000 |
commit | 167759081661b27406e16dc039379ed529bd0fa0 (patch) | |
tree | dd56854fbe0d4a704d21831d12ffd96eae3e3537 /gdb | |
parent | 7dd04abd82e51484e3bdf081a378ca41e980f3db (diff) | |
download | gdb-167759081661b27406e16dc039379ed529bd0fa0.zip gdb-167759081661b27406e16dc039379ed529bd0fa0.tar.gz gdb-167759081661b27406e16dc039379ed529bd0fa0.tar.bz2 |
* i386-linux-tdep.c (i386_linux_register_name): Make return type
constant.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/i386-linux-tdep.c | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index b3063d8..05050e2 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,4 +1,10 @@ +2002-06-19 Andrew Cagney <cagney@redhat.com> + + * i386-linux-tdep.c (i386_linux_register_name): Make return type + constant. + 2002-06-18 Joel Brobecker <brobecker@gnat.com> + * alpha-tdep.c (heuristic_proc_desc): Compute the size of the current frame using only the first stack size adjustment. All subsequent size adjustments are not considered to be part of diff --git a/gdb/i386-linux-tdep.c b/gdb/i386-linux-tdep.c index 12a2ab9..8fa9261 100644 --- a/gdb/i386-linux-tdep.c +++ b/gdb/i386-linux-tdep.c @@ -38,7 +38,7 @@ /* Return the name of register REG. */ -static char * +static const char * i386_linux_register_name (int reg) { /* Deal with the extra "orig_eax" pseudo register. */ |