diff options
author | Andrew Cagney <cagney@redhat.com> | 2003-08-21 20:16:49 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2003-08-21 20:16:49 +0000 |
commit | dcdd58b5c48f8ed212d4f5c9db31a46a10c8580d (patch) | |
tree | e11ef85aad41905f1d4f230243e2a5d64fe8c783 /sim/sh64/eng-compact.h | |
parent | 4af1a0e4d626fef0ffe9ac1a147abd054806f728 (diff) | |
download | gdb-dcdd58b5c48f8ed212d4f5c9db31a46a10c8580d.tar.gz |
2003-08-21 Andrew Cagney <cagney@redhat.com>
* i386-tdep.h (i386_regnums): Replace I386_EAX_REGNUM,
I386_EDX_REGNUM, I386_ESP_REGNUM, I386_EBP_REGNUM,
I386_EIP_REGNUM, I386_EFLAGS_REGNUM, I386_ST0_REGNUM.
* i386-linux-tdep.h (i386_linux_greg_offset): Declare.
(i386_linux_supply_fpxregset): Declare.
(i386_linux_supply_fpregset): Declare.
(i386_linux_supply_gregset): Declare.
* i386-linux-tdep.c: Include "gdb_assert.h", and "i387-tdep.h".
Do not include "gregset.h".
(enum user_regs): Define.
(struct regnum_map, struct regnum_to_user): Define.
(i386_linux_greg_offset): New function.
(dummy_sse_values): New function, copied from "i386-linux-nat.c"
make hist independant.
(i386_linux_supply_fpregset): New function.
(i386_linux_supply_gregset): New function.
(i386_linux_supply_fpxregset): New function.
(fetch_core_registers): New function.
(i386_linux_core_sniffer): New function.
(i386_linux_core_fns): New table.
(_initialize_i386_linux_tdep): Add i386_linux_core_fns to core
functions.
* i386-linux-nat.c: Do not include "gregset.h".
(dummy_sse_values) Delete function.
(regmap): Delete array.
(register_u_addr, fill_gregset, cannot_fetch_register): Use
i386_linux_greg_offset.
(cannot_store_register): Call cannot_fetch_register.
(supply_gregset): Call i386_linux_supply_gregset.
(supply_fpregset): Call i386_linux_supply_fpregset.
(supply_fpxregset): Call i386_linux_supply_fpxregset.
(fetch_core_registers): Delete function.
(linux_elf_core_fns): Delete table.
(_initialize_i386_linux_nat): Delete function.
Diffstat (limited to 'sim/sh64/eng-compact.h')
-rw-r--r-- | sim/sh64/eng-compact.h | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/sim/sh64/eng-compact.h b/sim/sh64/eng-compact.h deleted file mode 100644 index 521b2f8a977..00000000000 --- a/sim/sh64/eng-compact.h +++ /dev/null @@ -1,34 +0,0 @@ -/* engine configuration for sh64 */ - -/* WITH_FAST: non-zero if a fast version of the engine is available - in addition to the full-featured version. */ -#define WITH_FAST 1 - -/* WITH_SCACHE_PBB_SH64_COMPACT: non-zero if the pbb engine was selected. */ -#define WITH_SCACHE_PBB_SH64_COMPACT 1 - -/* HAVE_PARALLEL_INSNS: non-zero if cpu can parallelly execute > 1 insn. */ -#define HAVE_PARALLEL_INSNS 0 -#define WITH_PARALLEL_READ 0 -#define WITH_PARALLEL_WRITE 0 -#define WITH_PARALLEL_GENWRITE 0 - -/* WITH_SEM_SWITCH_FULL: non-zero if full-featured engine is - implemented as a switch(). */ -#define WITH_SEM_SWITCH_FULL 0 - -/* WITH_SEM_SWITCH_FAST: non-zero if fast engine is - implemented as a switch(). */ -#define WITH_SEM_SWITCH_FAST 1 - -/* Functions defined in the generated mainloop.c file - (which doesn't necessarily have that file name). */ - -extern ENGINE_FN sh64_compact_engine_run_full; -extern ENGINE_FN sh64_compact_engine_run_fast; - -extern SEM_PC sh64_compact_pbb_begin (SIM_CPU *, int); -extern SEM_PC sh64_compact_pbb_chain (SIM_CPU *, SEM_ARG); -extern SEM_PC sh64_compact_pbb_cti_chain (SIM_CPU *, SEM_ARG, SEM_BRANCH_TYPE, PCADDR); -extern void sh64_compact_pbb_before (SIM_CPU *, SCACHE *); -extern void sh64_compact_pbb_after (SIM_CPU *, SCACHE *); |