This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[patch] another const char *register_name()
- From: Andrew Cagney <ac131313 at cygnus dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Wed, 19 Jun 2002 11:00:36 -0400
- Subject: [patch] another const char *register_name()
Just FYI,
committed,
Andrew
2002-06-19 Andrew Cagney <cagney@redhat.com>
* i386-linux-tdep.c (i386_linux_register_name): Make return type
constant.
Index: i386-linux-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/i386-linux-tdep.c,v
retrieving revision 1.13
diff -u -r1.13 i386-linux-tdep.c
--- i386-linux-tdep.c 14 Jun 2002 19:42:19 -0000 1.13
+++ i386-linux-tdep.c 19 Jun 2002 14:58:26 -0000
@@ -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. */