aboutsummaryrefslogtreecommitdiff
path: root/gdb/m88k-pinsn.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/m88k-pinsn.c')
-rw-r--r--gdb/m88k-pinsn.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/m88k-pinsn.c b/gdb/m88k-pinsn.c
index 70dee95..b1060e0 100644
--- a/gdb/m88k-pinsn.c
+++ b/gdb/m88k-pinsn.c
@@ -343,8 +343,8 @@ void sprint_address (addr, buffer)
if (msymbol == NULL) return; /* If nothing comes through, don't
print anything symbolic */
- name = msymbol -> name;
- name_location = msymbol -> address;
+ name = SYMBOL_NAME (msymbol);
+ name_location = SYMBOL_VALUE_ADDRESS (msymbol);
} else {
name = fs->name;
name_location = BLOCK_START (SYMBOL_BLOCK_VALUE (fs));