darling-gdb/sim/sh
Corinna Vinschen ae0a84af70 * gencode.c (movua.l): Compensate for endianness.
* interp.c (RAISE_EXCEPTION_IF_IN_DELAY_SLOT): New macro.
	(in_delay_slot): New flag variable.
	(Delay_Slot): Set in_delay_slot.
	(sim_resume): Reset in_delay_slot after leaving code switch.
	* gencode.c (op tab): Call RAISE_EXCEPTION_IF_IN_DELAY_SLOT for all
	instructions not allowed in delay slots.

	Commited by Corinna Vinschen <vinschen@redhat.com>
	Introduce SH2a support.
	* interp.c: Change type of jump table to short.  Add various macros.
	(sim_load): Save the bfd machine code.
	(sim_create_inferior): Ditto.
	(union saved_state_type): Add tbr, ibnr and ibcr registers.
	Move bfd_mach to end of struct.  Add regstack pointer.
	(init_dsp): Don't swap contents of sh_dsp_table any more.  Instead
	use it directly in its own switch statement.  Allocate space for 512
	register banks.
	(do_long_move_insn): New function.
	(do_blog_insn): Ditto.
	(trap): Use trap #13 and trap #14 to set ibnr and ibcr.
	* gencode.c: Move movx/movy insns into separate switch statement.
	(op tab): Add sh2a insns.  Reject instructions that are disabled
	on that chip.
	(gensim_caselist): Generate default case here instead of in caller.
	(gensim): Generate two separate switch statements.  Call
	gensim_caselist once for each (for movsxy_tab and for tab).
	Add tokens for r15 and multiple regs.
	(conflict_warn, warn_conflicts): Add for debugging.
2004-09-08 09:11:50 +00:00
..
acconfig.h Initial creation of sourceware repository 1999-04-16 01:35:26 +00:00
ChangeLog * gencode.c (movua.l): Compensate for endianness. 2004-09-08 09:11:50 +00:00
config.in Initial creation of sourceware repository 1999-04-16 01:35:26 +00:00
configure Change profiling so that it is enabled by default. Re-generate everything. 2000-05-24 04:39:50 +00:00
configure.in Initial creation of sourceware repository 1999-04-16 01:35:26 +00:00
gencode.c * gencode.c (movua.l): Compensate for endianness. 2004-09-08 09:11:50 +00:00
interp.c * gencode.c (movua.l): Compensate for endianness. 2004-09-08 09:11:50 +00:00
Makefile.in include/gdb: 2002-07-17 18:43:28 +00:00
syscall.h include/gdb: 2003-10-15 12:30:47 +00:00
tconfig.in Initial creation of sourceware repository 1999-04-16 01:35:26 +00:00