diff options
author | Stu Grossman <grossman@cygnus> | 1992-12-29 00:27:18 +0000 |
---|---|---|
committer | Stu Grossman <grossman@cygnus> | 1992-12-29 00:27:18 +0000 |
commit | b8ef816335ed97ac644f527f12edc8aa8e9fac56 (patch) | |
tree | b4368d578b1114f1a206ceaf778fea1f3e6c14b0 /gdb/hppah-tdep.c | |
parent | b5c10493e9666be2c7413ffcf712160d35246966 (diff) | |
download | gdb-b8ef816335ed97ac644f527f12edc8aa8e9fac56.zip gdb-b8ef816335ed97ac644f527f12edc8aa8e9fac56.tar.gz gdb-b8ef816335ed97ac644f527f12edc8aa8e9fac56.tar.bz2 |
* 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.
Diffstat (limited to 'gdb/hppah-tdep.c')
-rw-r--r-- | gdb/hppah-tdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/hppah-tdep.c b/gdb/hppah-tdep.c index 51608ee..e3ff8ea 100644 --- a/gdb/hppah-tdep.c +++ b/gdb/hppah-tdep.c @@ -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); } |