aboutsummaryrefslogtreecommitdiff
path: root/gdb/i386-linux-tdep.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-06-19 14:59:47 +0000
committerAndrew Cagney <cagney@redhat.com>2002-06-19 14:59:47 +0000
commit167759081661b27406e16dc039379ed529bd0fa0 (patch)
treedd56854fbe0d4a704d21831d12ffd96eae3e3537 /gdb/i386-linux-tdep.c
parent7dd04abd82e51484e3bdf081a378ca41e980f3db (diff)
downloadfsf-binutils-gdb-167759081661b27406e16dc039379ed529bd0fa0.zip
fsf-binutils-gdb-167759081661b27406e16dc039379ed529bd0fa0.tar.gz
fsf-binutils-gdb-167759081661b27406e16dc039379ed529bd0fa0.tar.bz2
* i386-linux-tdep.c (i386_linux_register_name): Make return type
constant.
Diffstat (limited to 'gdb/i386-linux-tdep.c')
-rw-r--r--gdb/i386-linux-tdep.c2
1 files changed, 1 insertions, 1 deletions
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. */