* coffread.c (struct coff_symbol): Change c_value type from `long' to
authorPierre Muller <muller@sourceware.org>
Fri, 10 Sep 2010 16:12:22 +0000 (16:12 +0000)
committerPierre Muller <muller@sourceware.org>
Fri, 10 Sep 2010 16:12:22 +0000 (16:12 +0000)
`CORE_ADDRESS' as it might contain target addresses.

gdb/ChangeLog
gdb/coffread.c

index 9a03b8ddae81fa3927bd4c2b05354c40f7129c09..dfa62b6ba42597333599514d8ff01cb1f1d70405 100644 (file)
@@ -1,3 +1,8 @@
+2010-09-10  Pierre Muller  <muller@ics.u-strasbg.fr>
+
+       * coffread.c (struct coff_symbol): Change c_value type from `long' to
+       `CORE_ADDRESS' as it might contain target addresses.
+
 2010-09-10  Pierre Muller  <muller@ics.u-strasbg.fr>
 
        * alpha-mdebug-tdep.c (find_proc_desc): Use SYMBOL_VALUE_BYTES macro
index 85e8140c41e0744dda382440ccd4b580b21d3412..7f1ecd0debd7965fe3098003cf6848e750ea318d 100644 (file)
@@ -131,7 +131,7 @@ struct coff_symbol
     char *c_name;
     int c_symnum;              /* symbol number of this entry */
     int c_naux;                        /* 0 if syment only, 1 if syment + auxent, etc */
-    long c_value;
+    CORE_ADDR c_value;
     int c_sclass;
     int c_secnum;
     unsigned int c_type;