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/config/sparc | |
parent | 091f3a62a880ead07711231dd29eac1523eba1a2 (diff) | |
download | gdb-84bdfea6aa3c038b4e38f8615781ff3153bee2e3.zip gdb-84bdfea6aa3c038b4e38f8615781ff3153bee2e3.tar.gz gdb-84bdfea6aa3c038b4e38f8615781ff3153bee2e3.tar.bz2 |
* 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/config/sparc')
-rw-r--r-- | gdb/config/sparc/tm-sun4os4.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/gdb/config/sparc/tm-sun4os4.h b/gdb/config/sparc/tm-sun4os4.h index 613ed77..46c20a8 100644 --- a/gdb/config/sparc/tm-sun4os4.h +++ b/gdb/config/sparc/tm-sun4os4.h @@ -1,5 +1,5 @@ /* Macro definitions for GDB for a Sun 4 running sunos 4. - Copyright 1989, 1992 Free Software Foundation, Inc. + Copyright 1989, 1992, 1994 Free Software Foundation, Inc. This file is part of GDB. @@ -20,6 +20,13 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #include "sparc/tm-sparc.h" #include "tm-sunos.h" +/* Redefine SKIP_TRAMPOLINE_CODE to handle PIC compiled modules + in main executables. */ + +#undef SKIP_TRAMPOLINE_CODE +#define SKIP_TRAMPOLINE_CODE(pc) sunos4_skip_trampoline_code (pc) +extern CORE_ADDR sunos4_skip_trampoline_code PARAMS ((CORE_ADDR)); + /* Offsets into jmp_buf. Not defined by Sun, but at least documented in a comment in <machine/setjmp.h>! */ |