Browse Source

* coffread.c (struct coff_symbol): Change c_value type from `long' to

`CORE_ADDRESS' as it might contain target addresses.
binutils-2_21-branch
Pierre Muller 16 years ago
parent
commit
5e8db3985c
  1. 5
      gdb/ChangeLog
  2. 2
      gdb/coffread.c

5
gdb/ChangeLog

@ -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

2
gdb/coffread.c

@ -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;

Loading…
Cancel
Save