summaryrefslogtreecommitdiff
path: root/sim/testsuite/sim/sh64/compact/xorb.cgs
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-08-21 20:16:49 +0000
committerAndrew Cagney <cagney@redhat.com>2003-08-21 20:16:49 +0000
commitdcdd58b5c48f8ed212d4f5c9db31a46a10c8580d (patch)
treee11ef85aad41905f1d4f230243e2a5d64fe8c783 /sim/testsuite/sim/sh64/compact/xorb.cgs
parent4af1a0e4d626fef0ffe9ac1a147abd054806f728 (diff)
downloadgdb-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/testsuite/sim/sh64/compact/xorb.cgs')
-rw-r--r--sim/testsuite/sim/sh64/compact/xorb.cgs24
1 files changed, 0 insertions, 24 deletions
diff --git a/sim/testsuite/sim/sh64/compact/xorb.cgs b/sim/testsuite/sim/sh64/compact/xorb.cgs
deleted file mode 100644
index b31464b3c13..00000000000
--- a/sim/testsuite/sim/sh64/compact/xorb.cgs
+++ /dev/null
@@ -1,24 +0,0 @@
-# sh testcase for xor.b #$imm8, @(r0, gbr) -*- Asm -*-
-# mach: all
-# as: -isa=shcompact
-# ld: -m shelf32
-
- .include "compact/testutils.inc"
-
- start
-
- .global orb
-init:
- # Init GBR and R0.
- mov #30, r0
- ldc r0, gbr
- mov #40, r0
-
-orb:
- xor.b #0, @(r0, gbr)
- xor.b #170, @(r0, gbr)
- xor.b #0, @(r0, gbr)
- xor.b #255, @(r0, gbr)
-
-okay:
- pass