This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
RE: Adding MAC registers on H8300 Simulator [H8S/2600]
- From: "D.Venkatasubramanian, Noida" <dvenkat at noida dot hcltech dot com>
- To: Michael Snyder <msnyder at redhat dot com>, "'gdb-patches at sources dot redhat dot com'" <gdb-patches at sources dot redhat dot com>
- Date: Thu, 13 Mar 2003 11:13:26 +0530
- Subject: RE: Adding MAC registers on H8300 Simulator [H8S/2600]
>
>"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?
>
Well, I did that locally, I will regenerate the patches
and send it today. BTW, there was a problem, the
description for the MAC instruction is not clear, it says,
it requires a SYSR (System Register), but no such register
seems to be described. I have disabled that instruction.
Maybe, you could help me figure it out, how to go about it.
>
>> 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
>
Venky