This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]