Provide a valid non-multi-arch default for INTEGER_TO_ADDRESS.
This commit is contained in:
parent
e369bcce27
commit
73d3c16e21
|
@ -1,3 +1,9 @@
|
||||||
|
2001-10-15 Andrew Cagney <ac131313@redhat.com>
|
||||||
|
|
||||||
|
* gdbarch.sh (fallbackdefault): Set to one when predefault is
|
||||||
|
empty.
|
||||||
|
* gdbarch.h: Regenerate.
|
||||||
|
|
||||||
2001-10-15 Andrew Cagney <ac131313@redhat.com>
|
2001-10-15 Andrew Cagney <ac131313@redhat.com>
|
||||||
|
|
||||||
* mips-tdep.c (mips_integer_to_address): New function.
|
* mips-tdep.c (mips_integer_to_address): New function.
|
||||||
|
|
|
@ -1261,7 +1261,7 @@ extern int gdbarch_integer_to_address_p (struct gdbarch *gdbarch);
|
||||||
|
|
||||||
/* Default (function) for non- multi-arch platforms. */
|
/* Default (function) for non- multi-arch platforms. */
|
||||||
#if (!GDB_MULTI_ARCH) && !defined (INTEGER_TO_ADDRESS)
|
#if (!GDB_MULTI_ARCH) && !defined (INTEGER_TO_ADDRESS)
|
||||||
#define INTEGER_TO_ADDRESS(type, buf) ( (type, buf))
|
#define INTEGER_TO_ADDRESS(type, buf) (internal_error (__FILE__, __LINE__, "INTEGER_TO_ADDRESS"), 0)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
typedef CORE_ADDR (gdbarch_integer_to_address_ftype) (struct type *type, void *buf);
|
typedef CORE_ADDR (gdbarch_integer_to_address_ftype) (struct type *type, void *buf);
|
||||||
|
|
|
@ -111,7 +111,7 @@ EOF
|
||||||
then
|
then
|
||||||
fallbackdefault="${predefault}"
|
fallbackdefault="${predefault}"
|
||||||
else
|
else
|
||||||
fallbackdefault=""
|
fallbackdefault="0"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#NOT YET: See gdbarch.log for basic verification of
|
#NOT YET: See gdbarch.log for basic verification of
|
||||||
|
|
Loading…
Reference in New Issue