mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-18 12:24:38 +08:00
* alpha-mdebug-tdep.c (find_proc_desc): Use SYMBOL_VALUE_BYTES macro
before cast to pointer to avoid warning.
This commit is contained in:
parent
8901a3cd7d
commit
37049e3199
@ -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'
|
||||
|
@ -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. */
|
||||
|
Loading…
Reference in New Issue
Block a user