From: Pierre Muller Date: Fri, 10 Sep 2010 16:12:22 +0000 (+0000) Subject: * coffread.c (struct coff_symbol): Change c_value type from `long' to X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5e8db3985c2f510fead393fe1feefcc93e2031de;p=binutils-gdb.git * coffread.c (struct coff_symbol): Change c_value type from `long' to `CORE_ADDRESS' as it might contain target addresses. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 9a03b8ddae8..dfa62b6ba42 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2010-09-10 Pierre Muller + + * 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 * alpha-mdebug-tdep.c (find_proc_desc): Use SYMBOL_VALUE_BYTES macro diff --git a/gdb/coffread.c b/gdb/coffread.c index 85e8140c41e..7f1ecd0debd 100644 --- a/gdb/coffread.c +++ b/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;