aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/m88k-pinsn.c2
2 files changed, 5 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index fdb70d3..525ee66 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,7 +1,10 @@
Thu Mar 4 08:22:55 1993 Fred Fish (fnf@cygnus.com)
+ Fixes submitted by Karl Berry (karl@nermal.hq.ileaf.com):
+ * m88k-pinsn.c (sprint_address): Use SYMBOL_NAME macro to
+ access symbol name.
* m88k-nat-c (SXIP_OFFSET, SNIP_OFFSET, SFIP_OFFSET): Enclose
- macro definitions in parenthesis. Bug reported by karl@hq.ileaf.com.
+ macro definitions in parenthesis.
* dbxread.c (dbx_symfile_init): Catch the case where there is
no string table, but the only way we find out is by reading zero
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));
}