[rfa:sim/arm,arm] Add include/gdb/sim-arm.h

Andrew Cagney ac131313@cygnus.com
Wed Jun 12 14:23:00 GMT 2002


Thanks!  I've checked this in.

Andrew

> Index: gdb/ChangeLog
> 2002-05-29  Andrew Cagney  <ac131313@redhat.com>
> 
> 	* Makefile.in (sim_arm_h): Define.
> 	(arm-tdep.o): Add $(sim_arm_h) and $(gdb_assert_h).
> 	* arm-tdep.c: Include "gdb/sim-arm.h" and "gdb_assert.h".
> 	(arm_register_sim_regno): New function, map an internal REGNUM
> 	onto a simulator register number.
> 	(arm_gdbarch_init): Set register_sim_regno.
> 
> Index: include/gdb/ChangeLog
> 2002-05-29  Andrew Cagney  <ac131313@redhat.com>
> 
> 	* sim-arm.h: New file.
> 
> Index: sim/arm/ChangeLog
> 2002-05-29  Andrew Cagney  <ac131313@redhat.com>
> 
> 	* Makefile.in: Update copyright.
> 	(wrapper.o): Specify dependencies.
> 	* wrapper.c: Include "gdb/sim-arm.h".
> 	(sim_store_register, sim_fetch_register): Rewrite using `enum
> 	arm_sim_regs' and a switch.
> 




More information about the Gdb-patches mailing list