make i386 & sparc* output DBX_DEBUG format ("-gstabs") by default for now.
XXX: back this out when these platforms switch to GDB 5.3.
This commit is contained in:
parent
731ae88ecd
commit
f4fc0bf370
11
doc/HACKS
11
doc/HACKS
@ -1,4 +1,4 @@
|
||||
# $NetBSD: HACKS,v 1.7 2003/09/09 13:40:59 he Exp $
|
||||
# $NetBSD: HACKS,v 1.8 2003/09/19 08:43:14 mrg Exp $
|
||||
#
|
||||
# This file is intended to document workarounds for currently unsolved
|
||||
# (mostly) compiler bugs.
|
||||
@ -342,3 +342,12 @@ descr
|
||||
is observed on e.g. the sun3 port. Ideally the "types" for
|
||||
symbols should be consistent across all ports.
|
||||
kcah
|
||||
|
||||
hack i386 / sparc default debugging type in GCC 3.3.1
|
||||
cdate 19 Sept 2003
|
||||
who mrg
|
||||
file gnu/dist/gcc/gcc/config/{i386,sparc}/netbsd-elf.h
|
||||
descr
|
||||
Until i386 & sparc* switch to GDB 5.3, the default debugging
|
||||
format needs to be stabs not DWARF.
|
||||
kcah
|
||||
|
4
gnu/dist/gcc/gcc/config/i386/netbsd-elf.h
vendored
4
gnu/dist/gcc/gcc/config/i386/netbsd-elf.h
vendored
@ -125,3 +125,7 @@ Boston, MA 02111-1307, USA. */
|
||||
#define TRANSFER_FROM_TRAMPOLINE NETBSD_ENABLE_EXECUTE_STACK
|
||||
|
||||
#define TARGET_VERSION fprintf (stderr, " (NetBSD/i386 ELF)");
|
||||
|
||||
/* XXX delete me when NetBSD switches to GDB 5.3. */
|
||||
#undef PREFERRED_DEBUGGING_TYPE
|
||||
#define PREFERRED_DEBUGGING_TYPE DBX_DEBUG
|
||||
|
3
gnu/dist/gcc/gcc/config/sparc/netbsd-elf.h
vendored
3
gnu/dist/gcc/gcc/config/sparc/netbsd-elf.h
vendored
@ -56,6 +56,9 @@ Boston, MA 02111-1307, USA. */
|
||||
|
||||
#undef PREFERRED_DEBUGGING_TYPE
|
||||
#define PREFERRED_DEBUGGING_TYPE DWARF2_DEBUG
|
||||
/* XXX delete me when switching to GDB 5.3. */
|
||||
#undef PREFERRED_DEBUGGING_TYPE
|
||||
#define PREFERRED_DEBUGGING_TYPE DBX_DEBUG
|
||||
|
||||
/* This is the char to use for continuation (in case we need to turn
|
||||
continuation back on). */
|
||||
|
Loading…
Reference in New Issue
Block a user