mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-10-16 12:24:19 +08:00
* mipsread.c (cross_ref): Set the name to unknown for "struct *" case.
Patch from ptf@delcam.co.uk (Paul Flinders).
This commit is contained in:
@ -1,5 +1,8 @@
|
|||||||
Fri Jul 9 12:36:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
|
Fri Jul 9 12:36:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
|
||||||
|
|
||||||
|
* mipsread.c (cross_ref): Set the name to unknown for "struct *" case.
|
||||||
|
Patch from ptf@delcam.co.uk (Paul Flinders).
|
||||||
|
|
||||||
* a29k-tdep.c, findvar.c (get_saved_register): Fix byteswapping sins.
|
* a29k-tdep.c, findvar.c (get_saved_register): Fix byteswapping sins.
|
||||||
|
|
||||||
Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
|
Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
|
||||||
|
@ -2753,6 +2753,13 @@ cross_ref (ax, tpp, type_code, pname, bigend)
|
|||||||
/* Careful, we might be looking at .o files */
|
/* Careful, we might be looking at .o files */
|
||||||
if (sh.iss == 0)
|
if (sh.iss == 0)
|
||||||
*pname = "<undefined>";
|
*pname = "<undefined>";
|
||||||
|
else if (rn->rfd == 0xfff && rn->index == 0)
|
||||||
|
/* For structs, unions and enums, rn->rfd is 0xfff and the index
|
||||||
|
is a relative symbol number for the type, but an index of 0
|
||||||
|
seems to mean that we don't know. This is said to fix a problem
|
||||||
|
with "info func opendir" on an SGI showing
|
||||||
|
"struct BSDopendir.c *BSDopendir();". */
|
||||||
|
*pname = "<unknown>";
|
||||||
else
|
else
|
||||||
*pname = ecoff_data (cur_bfd)->ss + fh->issBase + sh.iss;
|
*pname = ecoff_data (cur_bfd)->ss + fh->issBase + sh.iss;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user