summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1997-07-13 14:31:54 +0000
committerbde <bde@FreeBSD.org>1997-07-13 14:31:54 +0000
commit829ef636541aa572a7e5cc07242c66012d61dc68 (patch)
treebfd6ea9ae482a644422d0a586a72c8fd86444427 /gnu/usr.bin
parent486333fcfd5f2cc27736d07dbf10d2cd0b6875e0 (diff)
downloadFreeBSD-src-829ef636541aa572a7e5cc07242c66012d61dc68.zip
FreeBSD-src-829ef636541aa572a7e5cc07242c66012d61dc68.tar.gz
Don't define HOST_DATA_START_ADDR, since gdb works without it the
previous definition doesn't work on BSD4.4Lite[2] derived systems without the changes in rev.1.27 of kern_proc.c.
Diffstat (limited to 'gnu/usr.bin')
-rw-r--r--gnu/usr.bin/gdb/bfd/i386freebsd.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/gnu/usr.bin/gdb/bfd/i386freebsd.h b/gnu/usr.bin/gdb/bfd/i386freebsd.h
index af011311..4859a37 100644
--- a/gnu/usr.bin/gdb/bfd/i386freebsd.h
+++ b/gnu/usr.bin/gdb/bfd/i386freebsd.h
@@ -15,8 +15,9 @@
/* This seems to be the right thing for FreeBSD and BSDI */
#define HOST_STACK_END_ADDR USRSTACK
-/* BSDI defines this too (PST) */
-#define HOST_DATA_START_ADDR ((bfd_vma)u.u_kproc.kp_eproc.e_vm.vm_daddr)
+/* Leave HOST_DATA_START_ADDR undefined, since the default when it is not
+ defined sort of works, and FreeBSD-2.0 through FreeBSD-2.2.2 do not
+ set u.u_kproc.kp_eproc.e_vm.vm_daddr. */
#define TRAD_UNIX_CORE_FILE_FAILING_SIGNAL(core_bfd) \
((core_bfd)->tdata.trad_core_data->u.u_sig)
OpenPOWER on IntegriCloud