summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/gdb
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1995-01-31 18:07:36 +0000
committerbde <bde@FreeBSD.org>1995-01-31 18:07:36 +0000
commit7a22eb0731556b4425f60a8bc3a82c1432891da8 (patch)
treedf7aef45bf1e9b9622bcb676bd4421824392c844 /gnu/usr.bin/gdb
parent410788f9213854da5a31cda7df74e9d18de8ab1a (diff)
downloadFreeBSD-src-7a22eb0731556b4425f60a8bc3a82c1432891da8.zip
FreeBSD-src-7a22eb0731556b4425f60a8bc3a82c1432891da8.tar.gz
Fix reading of stack addresses from core files. USRSTACK now really is
the (top of the) user stack.
Diffstat (limited to 'gnu/usr.bin/gdb')
-rw-r--r--gnu/usr.bin/gdb/bfd/sysdep.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/usr.bin/gdb/bfd/sysdep.h b/gnu/usr.bin/gdb/bfd/sysdep.h
index dd7328b..f57363b 100644
--- a/gnu/usr.bin/gdb/bfd/sysdep.h
+++ b/gnu/usr.bin/gdb/bfd/sysdep.h
@@ -27,8 +27,8 @@
(u.u_kproc.kp_eproc.e_vm.vm_maxsaddr + MAXSSIZ), which should work on
both BSDI and 386BSD, but that is believed not to work for BSD 4.4. */
-#ifdef __bsdi__
-/* This seems to be the right thing for BSDI. */
+#if defined (__bsdi__) || defined (__FreeBSD__)
+/* This seems to be the right thing for BSDI and FreeBSD. */
#define HOST_STACK_END_ADDR USRSTACK
#else
/* This seems to be the right thing for 386BSD release 0.1. */
OpenPOWER on IntegriCloud