Approved by Andrew Cagney <ac131313@cygnus.com>
* mips-tdep.c (MIPS_DEFAULT_MASK_ADDRESS_P): Define using either the current arch or use zero.
This commit is contained in:
parent
85a3969410
commit
92e1c15ca0
2 changed files with 13 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2000-10-25 Fred Fish <fnf@cygnus.com>
|
||||
|
||||
* mips-tdep.c (MIPS_DEFAULT_MASK_ADDRESS_P): Define using either
|
||||
the current arch or use zero.
|
||||
|
||||
2000-10-25 Fernando Nasser <fnasser@cygnus.com>
|
||||
|
||||
* ser-unix.c (do_unix_readchar): Coding style improvement only.
|
||||
|
|
|
@ -224,6 +224,13 @@ mips_stack_argsize (void)
|
|||
#define GDB_TARGET_IS_MIPS64 (gdbarch_tdep (current_gdbarch)->gdb_target_is_mips64 + 0)
|
||||
#endif
|
||||
|
||||
#if GDB_MULTI_ARCH
|
||||
#undef MIPS_DEFAULT_MASK_ADDRESS_P
|
||||
#define MIPS_DEFAULT_MASK_ADDRESS_P (gdbarch_tdep (current_gdbarch)->default_mask_address_p)
|
||||
#elif !defined (MIPS_DEFAULT_MASK_ADDRESS_P)
|
||||
#define MIPS_DEFAULT_MASK_ADDRESS_P (0)
|
||||
#endif
|
||||
|
||||
#define VM_MIN_ADDRESS (CORE_ADDR)0x400000
|
||||
|
||||
int gdb_print_insn_mips (bfd_vma, disassemble_info *);
|
||||
|
@ -468,7 +475,7 @@ mips_mask_address_p (void)
|
|||
return 0;
|
||||
break;
|
||||
case CMD_AUTO_BOOLEAN_AUTO:
|
||||
return gdbarch_tdep (current_gdbarch)->default_mask_address_p;
|
||||
return MIPS_DEFAULT_MASK_ADDRESS_P;
|
||||
default:
|
||||
internal_error ("mips_mask_address_p: bad switch");
|
||||
return -1;
|
||||
|
|
Loading…
Reference in a new issue