This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Adding MAC registers on H8300 Simulator [H8S/2600]
- From: Michael Snyder <msnyder at redhat dot com>
- To: "D.Venkatasubramanian, Noida" <dvenkat at noida dot hcltech dot com>
- Cc: gnuh8 at gnuh8 dot org dot uk, gdb at sources dot redhat dot com
- Date: Wed, 12 Mar 2003 13:24:43 -0800
- Subject: Re: Adding MAC registers on H8300 Simulator [H8S/2600]
- Organization: Red Hat, Inc.
- References: <E04CF3F88ACBD5119EFE00508BBB212107B229E5@exch-01.noida.hcltech.com>
"D.Venkatasubramanian, Noida" wrote:
>
> Hi All,
>
> As the H8S/2600 CPU has MAC registers, specifically
> MACH and MACL, I added them to the H8300 Simulator. How
> do I make GDB recognize these registers, more
> specifically, what are the files that need to be
> modified? In the simulator, I have added the registers
> in the cpu_state structure and some other places.
Hi Venky --
You did? I don't see your changes in the repository,
nor do I see your name in the ChangeLog.
I would be interested in helping you get these changes in.
Can you send me your patches, or pointers to them?
> Also, how do I make these registers conditionally
> displayed on GDB when the CPU is H8S/2600.
This sounds like a job for -- gdbarch!
Don't worry, it should not be too difficult.
Michael