Fixes submitted by Karl Berry (karl@nermal.hq.ileaf.com):

* m88k-pinsn.c (sprint_address):  Use SYMBOL_NAME macro to
	access symbol name.
This commit is contained in:
Fred Fish 1993-03-05 01:04:48 +00:00
parent e5bb7e61ad
commit 2456bacba8
2 changed files with 5 additions and 2 deletions

View File

@ -1,7 +1,10 @@
Thu Mar 4 08:22:55 1993 Fred Fish (fnf@cygnus.com) 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 * 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 * 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 no string table, but the only way we find out is by reading zero

View File

@ -346,7 +346,7 @@ void sprint_address (addr, buffer)
name = SYMBOL_NAME (msymbol); name = SYMBOL_NAME (msymbol);
name_location = SYMBOL_VALUE_ADDRESS (msymbol); name_location = SYMBOL_VALUE_ADDRESS (msymbol);
} else { } else {
name = fs->name; name = SYMBOL_NAME (fs);
name_location = BLOCK_START (SYMBOL_BLOCK_VALUE (fs)); name_location = BLOCK_START (SYMBOL_BLOCK_VALUE (fs));
} }