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:
parent
e5bb7e61ad
commit
2456bacba8
|
@ -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
|
||||||
|
|
|
@ -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));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue