aboutsummaryrefslogtreecommitdiff
path: root/gdb/m88k-pinsn.c
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>1993-03-05 01:04:48 +0000
committerFred Fish <fnf@specifix.com>1993-03-05 01:04:48 +0000
commit2456bacba8b4982ed36d6dca368dfcc43fa4edde (patch)
tree33cee286e9524ffe0f01f04707837108758a0465 /gdb/m88k-pinsn.c
parente5bb7e61ad59bb8c959a4028d8c2e1b036762927 (diff)
downloadgdb-2456bacba8b4982ed36d6dca368dfcc43fa4edde.zip
gdb-2456bacba8b4982ed36d6dca368dfcc43fa4edde.tar.gz
gdb-2456bacba8b4982ed36d6dca368dfcc43fa4edde.tar.bz2
Fixes submitted by Karl Berry (karl@nermal.hq.ileaf.com):
* m88k-pinsn.c (sprint_address): Use SYMBOL_NAME macro to access symbol name.
Diffstat (limited to 'gdb/m88k-pinsn.c')
-rw-r--r--gdb/m88k-pinsn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/m88k-pinsn.c b/gdb/m88k-pinsn.c
index b1060e0..b427b01 100644
--- a/gdb/m88k-pinsn.c
+++ b/gdb/m88k-pinsn.c
@@ -346,7 +346,7 @@ void sprint_address (addr, buffer)
name = SYMBOL_NAME (msymbol);
name_location = SYMBOL_VALUE_ADDRESS (msymbol);
} else {
- name = fs->name;
+ name = SYMBOL_NAME (fs);
name_location = BLOCK_START (SYMBOL_BLOCK_VALUE (fs));
}