From 7a22eb0731556b4425f60a8bc3a82c1432891da8 Mon Sep 17 00:00:00 2001 From: bde Date: Tue, 31 Jan 1995 18:07:36 +0000 Subject: Fix reading of stack addresses from core files. USRSTACK now really is the (top of the) user stack. --- gnu/usr.bin/gdb/bfd/sysdep.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/usr.bin/gdb') 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. */ -- cgit v1.1