forked from Imagelibrary/binutils-gdb
* hppah-tdep.c (skip_trampoline_code): Use new macros for
accessing minimal symbol data. * infcmd.c (read_pc): Use #ifdef, not #if. * symfile.c (syms_from_objfile): Add CONST to decl for targets. * tm-hppa.h (FIX_CALL_DUMMY): Use new macros for accessing minimal symbol data.
This commit is contained in:
@@ -768,7 +768,7 @@ skip_trampoline_code (pc, name)
|
||||
{
|
||||
msym = lookup_minimal_symbol ("$$dyncall", NULL);
|
||||
if (msym)
|
||||
dyncall = msym->address;
|
||||
dyncall = SYMBOL_VALUE_ADDRESS (msym);
|
||||
else
|
||||
dyncall = -1;
|
||||
}
|
||||
@@ -826,6 +826,6 @@ _initialize_hppah_tdep ()
|
||||
add_show_from_set
|
||||
(add_set_cmd ("use_unwind", class_obscure, var_boolean,
|
||||
(char *)&use_unwind,
|
||||
"Control the useage of unwind info.\n", &setlist),
|
||||
"Set the usage of unwind info", &setlist),
|
||||
&showlist);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user