From 2926766b79471e7e329d0a0c616b624f53dfd43e Mon Sep 17 00:00:00 2001 From: Jason Molenda Date: Mon, 27 Jul 1998 19:24:40 +0000 Subject: [PATCH] 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. 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 | 6 ++++++ gdb/config/d10v/tm-d10v.h | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index c7f6c63..ef21cf9 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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) diff --git a/gdb/config/d10v/tm-d10v.h b/gdb/config/d10v/tm-d10v.h index 0a4c3b4..967ffcf 100644 --- a/gdb/config/d10v/tm-d10v.h +++ b/gdb/config/d10v/tm-d10v.h @@ -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"\ -- 2.7.4