diff options
author | Frank Ch. Eigler <fche@redhat.com> | 1998-04-21 15:38:13 +0000 |
---|---|---|
committer | Frank Ch. Eigler <fche@redhat.com> | 1998-04-21 15:38:13 +0000 |
commit | 88ff9e0600aec045e1187d56621bb33c561ebc7a (patch) | |
tree | 9dadbb09f6eb6e2473cda74afadbc29621e5f5ef /gdb/config | |
parent | 171c7bbffefd30960de48ef487e5671fb025e181 (diff) | |
download | ppe42-binutils-88ff9e0600aec045e1187d56621bb33c561ebc7a.tar.gz ppe42-binutils-88ff9e0600aec045e1187d56621bb33c561ebc7a.zip |
* MIPS CPU-specific dissasembly extensions. Now TM_PRINT_INSN_MACH from tm.h
sets a default mach for disassembly, just like sparc port. c.f. PR 15371.
Tue Apr 21 11:20:54 1998 Frank Ch. Eigler <fche@cygnus.com>
* mips-tdep.c (gdb_print_insn_mips): Disassemble MIPS instructions
with subtarget-specific `mach', rather than fixed default.
* config/mips/tm-mips.h (TM_PRINT_INSN_MACH): New macro, default
disassembly `mach'.
start-sanitize-r5900
* config/mips/tm-r5900.h (TM_PRINT_INSN_MACH): Override.
end-sanitize-r5900
start-sanitize-sky
* config/mips/tm-txvu.h (TM_PRINT_INSN_MACH): Override.
end-sanitize-sky
Diffstat (limited to 'gdb/config')
-rw-r--r-- | gdb/config/mips/tm-mips.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/config/mips/tm-mips.h b/gdb/config/mips/tm-mips.h index a0bcd39a83..76cb114ced 100644 --- a/gdb/config/mips/tm-mips.h +++ b/gdb/config/mips/tm-mips.h @@ -529,6 +529,11 @@ extern struct frame_info *setup_arbitrary_frame PARAMS ((int, CORE_ADDR *)); #define COERCE_FLOAT_TO_DOUBLE (current_language -> la_language == language_c) +/* Select the default mips disassembler */ + +#define TM_PRINT_INSN_MACH 0 + + /* These are defined in mdebugread.c and are used in mips-tdep.c */ extern CORE_ADDR sigtramp_address, sigtramp_end; extern void fixup_sigtramp PARAMS ((void)); |