From 108684c912fa4b9b545dc00046bebe704de04595 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Thu, 18 Jul 1996 10:03:27 +0000 Subject: kernel is _PATH_UNIX --- gnu/usr.bin/gdb/gdb/infptrace.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/usr.bin/gdb/gdb/infptrace.c b/gnu/usr.bin/gdb/gdb/infptrace.c index 48b021df994..c50445e097e 100644 --- a/gnu/usr.bin/gdb/gdb/infptrace.c +++ b/gnu/usr.bin/gdb/gdb/infptrace.c @@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - $Id: infptrace.c,v 1.1 1995/10/18 08:40:00 deraadt Exp $ + $Id: infptrace.c,v 1.2 1996/07/18 10:03:26 deraadt Exp $ */ #include "defs.h" @@ -185,7 +185,7 @@ _initialize_kernel_u_addr () names[0].n_un.n_name = "_u"; names[1].n_un.n_name = NULL; - if (nlist ("/netbsd", names) == 0) + if (nlist (_PATH_UNIX, names) == 0) kernel_u_addr = names[0].n_value; else fatal ("Unable to get kernel u area address."); -- cgit v1.2.3