Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [patch] another const char *register_name()
@ 2002-06-19  8:01 Andrew Cagney
  2002-06-20  6:08 ` Michal Ludvig
  0 siblings, 1 reply; 2+ messages in thread
From: Andrew Cagney @ 2002-06-19  8:01 UTC (permalink / raw)
  To: gdb-patches

[-- Attachment #1: Type: text/plain, Size: 29 bytes --]

Just FYI,

committed,
Andrew

[-- Attachment #2: diffs --]
[-- Type: text/plain, Size: 623 bytes --]

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.  */

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-06-20 13:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-06-19  8:01 [patch] another const char *register_name() Andrew Cagney
2002-06-20  6:08 ` Michal Ludvig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox