aboutsummaryrefslogtreecommitdiff
path: root/gnu/usr.bin/gdb/bfd
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1995-01-31 18:07:36 +0000
committerBruce Evans <bde@FreeBSD.org>1995-01-31 18:07:36 +0000
commite322e6a55ac09769d65d599baf79bb4c4d6f29aa (patch)
treedf7aef45bf1e9b9622bcb676bd4421824392c844 /gnu/usr.bin/gdb/bfd
parent68abb9f9db724eb8cf8c24ed6dc0766204837a35 (diff)
downloadsrc-e322e6a55ac09769d65d599baf79bb4c4d6f29aa.tar.gz
src-e322e6a55ac09769d65d599baf79bb4c4d6f29aa.zip
Fix reading of stack addresses from core files. USRSTACK now really is
the (top of the) user stack.
Notes
Notes: svn path=/head/; revision=6080
Diffstat (limited to 'gnu/usr.bin/gdb/bfd')
-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 dd7328b1d0f0..f57363b66aba 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. */