diff options
author | bde <bde@FreeBSD.org> | 1995-01-31 18:07:36 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1995-01-31 18:07:36 +0000 |
commit | 7a22eb0731556b4425f60a8bc3a82c1432891da8 (patch) | |
tree | df7aef45bf1e9b9622bcb676bd4421824392c844 | |
parent | 410788f9213854da5a31cda7df74e9d18de8ab1a (diff) | |
download | FreeBSD-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.
-rw-r--r-- | gnu/usr.bin/gdb/bfd/sysdep.h | 4 |
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. */ |