diff options
author | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2002-04-04 15:36:11 +0000 |
---|---|---|
committer | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2002-04-04 15:36:11 +0000 |
commit | 3298e36687833a356df0ebb9addda8b9fbf36b23 (patch) | |
tree | ef4f6ddb6ec067a88bcb20b7524e6c159452f065 | |
parent | 2da603ffb123e18407ebee967dbe4ce85d38bef3 (diff) |
use v9a disassembler. no more unknown insn.
-rw-r--r-- | gnu/usr.bin/binutils/gdb/config/sparc/tm-sp64.h | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/gnu/usr.bin/binutils/gdb/config/sparc/tm-sp64.h b/gnu/usr.bin/binutils/gdb/config/sparc/tm-sp64.h index 21a1d8c2bf6..b4f17661111 100644 --- a/gnu/usr.bin/binutils/gdb/config/sparc/tm-sp64.h +++ b/gnu/usr.bin/binutils/gdb/config/sparc/tm-sp64.h @@ -283,6 +283,15 @@ get_longjmp_target PARAMS ((CORE_ADDR *)); #define GET_LONGJMP_TARGET(ADDR) get_longjmp_target(ADDR) +/* Select the sparc64 disassembler */ + +#undef TM_PRINT_INSN_MACH +#define TM_PRINT_INSN_MACH bfd_mach_sparc_v9a + +#undef REG_STRUCT_HAS_ADDR +#define REG_STRUCT_HAS_ADDR(gcc_p, type) \ + (TYPE_LENGTH (type) > 32) + #define TARGET_READ_SP() \ sparc64_read_sp() @@ -294,7 +303,3 @@ get_longjmp_target PARAMS ((CORE_ADDR *)); #define TARGET_WRITE_FP(val) \ sparc64_write_fp(val) - -#undef REG_STRUCT_HAS_ADDR -#define REG_STRUCT_HAS_ADDR(gcc_p, type) \ - (TYPE_LENGTH (type) > 32) |