* mipsread.c: Many changes for alpha ecoff format:
Correct sizeof(int) == sizeof(long) assumptions. Replace stParsed hack by putting the parsed types on the pending chain. Replace mips specific ecoff mapping by ECOFF_REG_TO_REGNUM macro, provide default for cross debugging. Swapping the symbol back is no longer needed as the symbol is not modified anymore. Add new alpha basic types, handle btTypedef, handle stStaticProc external symbols . Update and clean up cross_ref for alpha cc cross ref variations. Allocate types on the type_obstack to inhibit storage leaks. * config/mips/tm-mips.h (ECOFF_REG_TO_REGNUM): Define. * gdbtypes.c (recursive_dump_type): Dump TYPE_TAG_NAME if it is set.
This commit is contained in:
parent
8cced93dd7
commit
85999c054b
3 changed files with 312 additions and 165 deletions
|
@ -1202,9 +1202,14 @@ recursive_dump_type (type, spaces)
|
|||
{
|
||||
int idx;
|
||||
|
||||
printfi_filtered (spaces, "type node 0x%x\n", type);
|
||||
printfi_filtered (spaces, "name '%s' (0x%x)\n", TYPE_NAME (type),
|
||||
TYPE_NAME (type) ? TYPE_NAME (type) : "<NULL>");
|
||||
printfi_filtered (spaces, "type node 0x%lx\n", (unsigned long)type);
|
||||
printfi_filtered (spaces, "name '%s' (0x%lx)\n",
|
||||
TYPE_NAME (type) ? TYPE_NAME (type) : "<NULL>",
|
||||
(unsigned long)TYPE_NAME (type));
|
||||
if (TYPE_TAG_NAME (type) != NULL)
|
||||
printfi_filtered (spaces, "tagname '%s' (0x%lx)\n",
|
||||
TYPE_TAG_NAME (type),
|
||||
(unsigned long)TYPE_TAG_NAME (type));
|
||||
printfi_filtered (spaces, "code 0x%x ", TYPE_CODE (type));
|
||||
switch (TYPE_CODE (type))
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue