1998-07-27 Jason Molenda (jsm@bugshack.cygnus.com)
authorJason Molenda <jmolenda@apple.com>
Mon, 27 Jul 1998 19:24:40 +0000 (19:24 +0000)
committerJason Molenda <jmolenda@apple.com>
Mon, 27 Jul 1998 19:24:40 +0000 (19:24 +0000)
        * config/d10v/tm-d10v.h (REGISTER_NAMES): sp -> r15.  The
        stack pointer et al are synthesized from the SP_REGNUM (etc)
        defines and should not be mentioned in REGISTER_NAMES.

There is a log discussion copied into PR 15966 about how this is not
handled consistently across all targets and we ought to clean it up
a bit.  I'm not tackling the general for this PR, though.

gdb/ChangeLog
gdb/config/d10v/tm-d10v.h

index c7f6c63..ef21cf9 100644 (file)
@@ -1,3 +1,9 @@
+1998-07-27  Jason Molenda  (jsm@bugshack.cygnus.com)
+
+       * config/d10v/tm-d10v.h (REGISTER_NAMES): sp -> r15.  The
+       stack pointer et al are synthesized from the SP_REGNUM (etc)
+       defines and should not be mentioned in REGISTER_NAMES.
+
 start-sanitize-am33
 Mon Jul 27 08:54:41 1998  Jeffrey A Law  (law@cygnus.com)
 
index 0a4c3b4..967ffcf 100644 (file)
@@ -64,7 +64,7 @@ extern CORE_ADDR d10v_skip_prologue ();
 
 #define REGISTER_NAMES \
 { "r0", "r1", "r2", "r3", "r4", "r5",  "r6", "r7", \
-    "r8", "r9", "r10","r11","r12", "r13", "r14","sp",\
+    "r8", "r9", "r10","r11","r12", "r13", "r14","r15",\
     "psw","bpsw","pc","bpc", "cr4", "cr5", "cr6", "rpt_c",\
     "rpt_s","rpt_e", "mod_s", "mod_e", "cr12", "cr13", "iba", "cr15",\
     "imap0","imap1","dmap","a0", "a1"\