* alpha-mdebug-tdep.c (find_proc_desc): Use SYMBOL_VALUE_BYTES macro

before cast to pointer to avoid warning.
This commit is contained in:
Pierre Muller
2010-09-10 16:04:58 +00:00
parent 8901a3cd7d
commit 37049e3199
2 changed files with 6 additions and 1 deletions

View File

@@ -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. */