* 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

@ -1,3 +1,8 @@
2010-09-10 Pierre Muller <muller@ics.u-strasbg.fr>
* alpha-mdebug-tdep.c (find_proc_desc): Use SYMBOL_VALUE_BYTES macro
before cast to pointer to avoid warning.
2010-09-09 Kevin Buettner <kevinb@redhat.com>
* v850-tdep.c (v850_gdbarch_init): Change the v850's `char'

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