* 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:
Stu Grossman
1992-12-29 00:27:18 +00:00
parent b5c10493e9
commit b8ef816335
4 changed files with 15 additions and 8 deletions

View File

@@ -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);
}