* config/mips/tm-irix3.h: Clean up, use tm-bigmips.h and redefine
authorPeter Schauer <Peter.Schauer@mytum.de>
Sat, 22 May 1993 07:26:25 +0000 (07:26 +0000)
committerPeter Schauer <Peter.Schauer@mytum.de>
Sat, 22 May 1993 07:26:25 +0000 (07:26 +0000)
commitac8cf67dcad6b89d3867e8ac45921e94ac84db89
tree46e0b8cf6eeb1115a21cab6283e7a7ca9c2725e6
parent43152fe57b27c7dc96624b43e1a9598bb7eb2f04
* config/mips/tm-irix3.h: Clean up, use tm-bigmips.h and redefine
the necessary bits.
* findvar.c (value_from_register): Fix uninitialized first_addr
which caused problems with assignment of doubles to register variables
on some targets.
* mipsread.c: Remove TM_FILE_OVERRIDE, include tm.h and provide the
missing mips definitions if necessary.

Fix handling of double register variables for mips targets and big
endian hosts. These patches are from Paul Flinders <ptf@delcam.co.uk>.
* config/mips/tm-mips.h: Increase MAX_REGISTER_{RAW,VIRTUAL}_SIZE to
  8 bytes for doubles.
* config/mips/tm-mips.h (REGISTER_CONVERT_TO_TYPE): New macro for
  conversion of type held in multiple registers to host format.
* config/mips/tm-mips.h (REGISTER_CONVERT_FROM_TYPE): New macro,
  companion to REGISTER_CONVERT_TO_TYPE.
* config/mips/tm-mips.h (EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE):
  Convert to function calls.
* config/mips/tm-mips.h (FIX_CALL_DUMMY): New code for big endian
  mips targets.
* mips-tdep.c (mips_print_register): Raw buffer now needs just
  MAX_REGISTER_RAW_SIZE bytes.
* mips-tdep.c (mips_print_register): Use REGISTER_CONVERT_TO_TYPE
  (if defined) for doubles.
* mips-tdep.c: (mips_extract_return_value, mips_store_return_value):
  New functions, take care of REGISTER_CONVERT_TO/FROM_TYPE.
* valops.c (value_assign): Use REGISTER_CONVERT_TO_TYPE if
  defined.
* findvar.c (value_from_register): Use REGISTER_CONVERT_TO_TYPE if
  defined.
gdb/ChangeLog
gdb/config/mips/tm-irix3.h
gdb/config/mips/tm-mips.h
gdb/mips-tdep.c
gdb/mipsread.c
This page took 0.024591 seconds and 4 git commands to generate.