From: Andrew Cagney <ac131313@redhat.com>
To: Stephane Carrez <stcarrez@nerim.fr>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [PATCH]: Fix page register definition in HC11 simulator
Date: Fri, 08 Aug 2003 23:12:00 -0000 [thread overview]
Message-ID: <3F342E57.1040708@redhat.com> (raw)
In-Reply-To: <3F340E26.7000302@nerim.fr>
Stephane,
> 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).
Add a file include/gdb/sim-m68hc11.h and then share that between GDB and
the sim.
enjoy,
Andrew
> 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.
>
>
>
>
> 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;
prev parent reply other threads:[~2003-08-08 23:12 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-08-08 20:55 Stephane Carrez
2003-08-08 23:12 ` Andrew Cagney [this message]
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=3F342E57.1040708@redhat.com \
--to=ac131313@redhat.com \
--cc=gdb-patches@sources.redhat.com \
--cc=stcarrez@nerim.fr \
/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