+2001-02-19 Michael Snyder <msnyder@mvstp600e.cygnus.com>
+
+ * parse.c (write_exp_msymbol): Make the type CORE_ADDR, to
+ accomodate 64-bit addresses.
+
2001-02-19 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
From Peter Schauer <Peter.Schauer@regent.e-technik.tu-muenchen.de>
static struct type *msym_unknown_symbol_type;
void
-write_exp_msymbol (struct minimal_symbol *msymbol,
- struct type *text_symbol_type, struct type *data_symbol_type)
+write_exp_msymbol (struct minimal_symbol *msymbol,
+ struct type *text_symbol_type,
+ struct type *data_symbol_type)
{
CORE_ADDR addr;
write_exp_elt_opcode (OP_LONG);
- write_exp_elt_type (lookup_pointer_type (builtin_type_void));
+ /* Let's make the type big enough to hold a 64-bit address. */
+ write_exp_elt_type (builtin_type_CORE_ADDR);
addr = SYMBOL_VALUE_ADDRESS (msymbol);
if (overlay_debugging)