From 2456bacba8b4982ed36d6dca368dfcc43fa4edde Mon Sep 17 00:00:00 2001 From: Fred Fish Date: Fri, 5 Mar 1993 01:04:48 +0000 Subject: [PATCH] Fixes submitted by Karl Berry (karl@nermal.hq.ileaf.com): * m88k-pinsn.c (sprint_address): Use SYMBOL_NAME macro to access symbol name. --- gdb/ChangeLog | 5 ++++- gdb/m88k-pinsn.c | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index fdb70d37660..525ee6614ac 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 b1060e01adf..b427b01707e 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)); } -- 2.30.2