diff options
author | Peter Schauer <Peter.Schauer@mytum.de> | 1994-12-17 10:46:32 +0000 |
---|---|---|
committer | Peter Schauer <Peter.Schauer@mytum.de> | 1994-12-17 10:46:32 +0000 |
commit | 84bdfea6aa3c038b4e38f8615781ff3153bee2e3 (patch) | |
tree | 1eb9e1ea1d99fcb8bf0fff414ba9b9579abb0ba1 /gdb/c-typeprint.c | |
parent | 091f3a62a880ead07711231dd29eac1523eba1a2 (diff) | |
download | binutils-gdb-84bdfea6aa3c038b4e38f8615781ff3153bee2e3.tar.gz |
* c-typeprint.c (c_type_print_base): Use `show' of -1 to print
the return type of methods to avoid infinite loops with anonymous
types.
* valops.c (search_struct_field): Handle anonymous unions.
* sparc-tdep.c (sunos4_skip_trampoline_code): New function
to correctly handle steps into -g compiled PIC objects in the
main executable.
* config/sparc/tm-sun4os4.h (SKIP_TRAMPOLINE_CODE):
Redefine to use sunos4_skip_trampoline_code.
* dwarfread.c (DWARF_REG_TO_REGNUM): Provide a default mapping
from DWARF to GDB register numbering.
* dwarfread.c (locval): Use DWARF_REG_TO_REGNUM to map the
register value.
* config/mips/tm-mipsv4.h (DWARF_REG_TO_REGNUM): Define.
Diffstat (limited to 'gdb/c-typeprint.c')
-rw-r--r-- | gdb/c-typeprint.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/c-typeprint.c b/gdb/c-typeprint.c index ff768ee695b..01a9a738fdb 100644 --- a/gdb/c-typeprint.c +++ b/gdb/c-typeprint.c @@ -1,5 +1,6 @@ /* Support for printing C and C++ types for GDB, the GNU debugger. - Copyright 1986, 1988, 1989, 1991 Free Software Foundation, Inc. + Copyright 1986, 1988, 1989, 1991, 1993, 1994 + Free Software Foundation, Inc. This file is part of GDB. @@ -692,7 +693,7 @@ c_type_print_base (type, stream, show, level) else if (!is_constructor && !is_full_physname_constructor) { type_print (TYPE_TARGET_TYPE (TYPE_FN_FIELD_TYPE (f, j)), - "", stream, 0); + "", stream, -1); fputs_filtered (" ", stream); } if (TYPE_FN_FIELD_STUB (f, j)) |