2001-02-19 Michael Snyder <msnyder@mvstp600e.cygnus.com>
authorMichael Snyder <msnyder@vmware.com>
Tue, 20 Feb 2001 00:10:18 +0000 (00:10 +0000)
committerMichael Snyder <msnyder@vmware.com>
Tue, 20 Feb 2001 00:10:18 +0000 (00:10 +0000)
* parse.c (write_exp_msymbol): Make the type CORE_ADDR, to
accomodate 64-bit addresses.

gdb/ChangeLog
gdb/parse.c

index 4af7a46f17619e1c8da8f5102408dc3cea30e59f..1ce5b147611c82d3cc8ca3bbf4c30ca5d3aa92a3 100644 (file)
@@ -1,3 +1,8 @@
+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>
index fae00963435fb0417ada7ccb13b1537a700b6c6d..7b7845bf42cafb8927b96688d7a8d302976b2b19 100644 (file)
@@ -403,13 +403,15 @@ static struct type *msym_data_symbol_type;
 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)
This page took 0.0475989999999999 seconds and 4 git commands to generate.