From 4247cafddf8c48cc8dced916f0ee045356afeb08 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Thu, 23 Jun 2005 09:21:45 +0000 Subject: * gdb_ptrace.h: Fix typos when checking for PT_ATTACH. Reported by Chad Harrington . --- gdb/gdb_ptrace.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gdb/gdb_ptrace.h') diff --git a/gdb/gdb_ptrace.h b/gdb/gdb_ptrace.h index f060ce6..7d27e3e 100644 --- a/gdb/gdb_ptrace.h +++ b/gdb/gdb_ptrace.h @@ -92,8 +92,8 @@ /* Not all systems support attaching and detaching. */ -#ifndef PT_ATTCH -# ifdef PTRACE_DETACH +#ifndef PT_ATTACH +# ifdef PTRACE_ATTACH # define PT_ATTACH PTRACE_ATTACH # endif #endif -- cgit v1.1