summaryrefslogtreecommitdiff
path: root/gdb/tm-hppa.h
diff options
context:
space:
mode:
authorStu Grossman <grossman@cygnus>1992-12-29 00:27:18 +0000
committerStu Grossman <grossman@cygnus>1992-12-29 00:27:18 +0000
commitb8ef816335ed97ac644f527f12edc8aa8e9fac56 (patch)
treeb4368d578b1114f1a206ceaf778fea1f3e6c14b0 /gdb/tm-hppa.h
parentb5c10493e9666be2c7413ffcf712160d35246966 (diff)
downloadbinutils-gdb-b8ef816335ed97ac644f527f12edc8aa8e9fac56.tar.gz
* 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/tm-hppa.h')
-rw-r--r--gdb/tm-hppa.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/gdb/tm-hppa.h b/gdb/tm-hppa.h
index 97cf7b43c67..c9baee58055 100644
--- a/gdb/tm-hppa.h
+++ b/gdb/tm-hppa.h
@@ -517,15 +517,15 @@ text_space ; Otherwise, go through _sr4export,
{ \
struct minimal_symbol *msymbol; \
msymbol = lookup_minimal_symbol ("$$dyncall", (struct objfile *) NULL);\
- if (msymbol == NULL) \
- error ("Can't find an address for $$dyncall trampoline"); \
+ if (msymbol == NULL) \
+ error ("Can't find an address for $$dyncall trampoline"); \
else \
- dyncall_addr = msymbol -> address; \
+ dyncall_addr = SYMBOL_VALUE_ADDRESS (msymbol); \
msymbol = lookup_minimal_symbol ("_sr4export", (struct objfile *) NULL);\
- if (msymbol == NULL) \
+ if (msymbol == NULL) \
error ("Can't find an address for _sr4export trampoline"); \
else \
- sr4export_addr = msymbol -> address; \
+ sr4export_addr = SYMBOL_VALUE_ADDRESS (msymbol); \
} \
dummyname[9] = deposit_21 (fun >> 11, dummyname[9]); \
dummyname[10] = deposit_14 (fun & MASK_11, dummyname[10]); \