Adding MAC registers on H8300 Simulator [H8S/2600]

D.Venkatasubramanian, Noida dvenkat@noida.hcltech.com
Thu Feb 20 15:35:00 GMT 2003


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.

Also, how do I make these registers conditionally 
displayed on GDB when the CPU is H8S/2600.

Any pointers will be highly appreciated. ;-)

Thanks and Regards,

Venky



 



More information about the Gdb mailing list