summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-07-18 10:03:27 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-07-18 10:03:27 +0000
commit108684c912fa4b9b545dc00046bebe704de04595 (patch)
tree5e884dcecea4d16f26959583ed899a5d56f59742
parent1daa2e447ad7866c98351d0230c39fe6064252bf (diff)
kernel is _PATH_UNIX
-rw-r--r--gnu/usr.bin/gdb/gdb/infptrace.c4
1 files 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.");