diff options
author | Peter Schauer <Peter.Schauer@mytum.de> | 1993-09-16 07:38:42 +0000 |
---|---|---|
committer | Peter Schauer <Peter.Schauer@mytum.de> | 1993-09-16 07:38:42 +0000 |
commit | 85999c054b0dfaa6f0ccff9220a14db01dfeb1e8 (patch) | |
tree | 0ef0f030f2201df14d9482d4c2e81dbd06ffdd8f /gdb/gdbtypes.c | |
parent | 8cced93dd736be1e1936cdb1a2de5e778febfaf0 (diff) | |
download | gdb-85999c054b0dfaa6f0ccff9220a14db01dfeb1e8.zip gdb-85999c054b0dfaa6f0ccff9220a14db01dfeb1e8.tar.gz gdb-85999c054b0dfaa6f0ccff9220a14db01dfeb1e8.tar.bz2 |
* 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.
Diffstat (limited to 'gdb/gdbtypes.c')
-rw-r--r-- | gdb/gdbtypes.c | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/gdb/gdbtypes.c b/gdb/gdbtypes.c index c6e41f3..44e6e92 100644 --- a/gdb/gdbtypes.c +++ b/gdb/gdbtypes.c @@ -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)) { |