diff options
author | Pierre Muller <muller@ics.u-strasbg.fr> | 2010-09-10 16:04:58 +0000 |
---|---|---|
committer | Pierre Muller <muller@ics.u-strasbg.fr> | 2010-09-10 16:04:58 +0000 |
commit | b2147050b6428dfc5d36e198f89fdc370209edf8 (patch) | |
tree | e77df03da4d5c664264fe7378ca175f2aa500712 /gdb/alpha-mdebug-tdep.c | |
parent | fae9ee2010239a1bbf1faa12113213c2b3cfc054 (diff) | |
download | gdb-b2147050b6428dfc5d36e198f89fdc370209edf8.tar.gz |
* alpha-mdebug-tdep.c (find_proc_desc): Use SYMBOL_VALUE_BYTES macro
before cast to pointer to avoid warning.
Diffstat (limited to 'gdb/alpha-mdebug-tdep.c')
-rw-r--r-- | gdb/alpha-mdebug-tdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/alpha-mdebug-tdep.c b/gdb/alpha-mdebug-tdep.c index 369b161839e..4dd0afcd36b 100644 --- a/gdb/alpha-mdebug-tdep.c +++ b/gdb/alpha-mdebug-tdep.c @@ -115,7 +115,7 @@ find_proc_desc (CORE_ADDR pc) if (sym) { - proc_desc = (struct mdebug_extra_func_info *) SYMBOL_VALUE (sym); + proc_desc = (struct mdebug_extra_func_info *) SYMBOL_VALUE_BYTES (sym); /* Correct incorrect setjmp procedure descriptor from the library to make backtrace through setjmp work. */ |