* gdb_ptrace.h: Fix typos when checking for PT_ATTACH. Reported
authorAndreas Schwab <schwab@linux-m68k.org>
Thu, 23 Jun 2005 09:21:45 +0000 (09:21 +0000)
committerAndreas Schwab <schwab@linux-m68k.org>
Thu, 23 Jun 2005 09:21:45 +0000 (09:21 +0000)
by Chad Harrington <harrington.chad@gmail.com>.

gdb/ChangeLog
gdb/gdb_ptrace.h

index 236e17e..34f798e 100644 (file)
@@ -1,3 +1,8 @@
+2005-06-23  Andreas Schwab  <schwab@suse.de>
+
+       * gdb_ptrace.h: Fix typos when checking for PT_ATTACH.  Reported
+       by Chad Harrington <harrington.chad@gmail.com>.
+
 2005-06-22  Mark Kettenis  <kettenis@gnu.org>
 
        * remote.c (extended_remote_restart): Pass buffer in call to
index f060ce6..7d27e3e 100644 (file)
@@ -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