diff options
author | Pierre Muller <muller@sourceware.org> | 2010-09-10 16:04:58 +0000 |
---|---|---|
committer | Pierre Muller <muller@sourceware.org> | 2010-09-10 16:04:58 +0000 |
commit | 37049e3199b0ca9c580128979244f8306a284cad (patch) | |
tree | eb68d0a04d3b70ff295d727c2d868d491de96430 /gdb/alpha-mdebug-tdep.c | |
parent | 8901a3cd7d56bb4e90007759a66951fffe7ce38f (diff) | |
download | gdb-37049e3199b0ca9c580128979244f8306a284cad.zip gdb-37049e3199b0ca9c580128979244f8306a284cad.tar.gz gdb-37049e3199b0ca9c580128979244f8306a284cad.tar.bz2 |
* 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 369b161..4dd0afc 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. */ |