This is the mail archive of the gdb@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?


> 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


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