From: Stephane Carrez <stcarrez@nerim.fr>
To: gdb-patches@sources.redhat.com
Subject: [PATCH]: Fix page register definition in HC11 simulator
Date: Fri, 08 Aug 2003 20:55:00 -0000 [thread overview]
Message-ID: <3F340E26.7000302@nerim.fr> (raw)
[-- Attachment #1: Type: text/plain, Size: 371 bytes --]
Hi!
This patch fixes the definition of page register in simulator so that
it matches gdb definition (ok, I could have used a gdb mapping but I prefer
to have the same numbers everywhere if possible).
Committed on 6_0 and mainline.
Stephane
2003-08-08 Stephane Carrez <stcarrez@nerim.fr>
* sim-main.h (PAGE_REGNUM, Z_REGNUM): Use same numbering as gdb.
[-- Attachment #2: sim-fix.diffs --]
[-- Type: text/plain, Size: 563 bytes --]
Index: sim-main.h
===================================================================
RCS file: /cvs/src/src/sim/m68hc11/sim-main.h,v
retrieving revision 1.9.44.1
diff -u -p -r1.9.44.1 sim-main.h
--- sim-main.h 8 Aug 2003 20:26:28 -0000 1.9.44.1
+++ sim-main.h 8 Aug 2003 20:30:19 -0000
@@ -79,8 +79,8 @@ enum cpu_type
#define A_REGNUM 5
#define B_REGNUM 6
#define PSW_REGNUM 7
-#define Z_REGNUM 8
-#define PAGE_REGNUM 9
+#define PAGE_REGNUM 8
+#define Z_REGNUM 9
typedef struct m6811_regs {
unsigned short d;
next reply other threads:[~2003-08-08 20:55 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-08-08 20:55 Stephane Carrez [this message]
2003-08-08 23:12 ` Andrew Cagney
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3F340E26.7000302@nerim.fr \
--to=stcarrez@nerim.fr \
--cc=gdb-patches@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox