aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdb_ptrace.h
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2005-06-23 09:21:45 +0000
committerAndreas Schwab <schwab@linux-m68k.org>2005-06-23 09:21:45 +0000
commit4247cafddf8c48cc8dced916f0ee045356afeb08 (patch)
tree32861c4ce8e24f8a7b66413a5680ea9916122296 /gdb/gdb_ptrace.h
parent7d329e61dae01961982e5a49a8960e96be3825cc (diff)
downloadgdb-4247cafddf8c48cc8dced916f0ee045356afeb08.zip
gdb-4247cafddf8c48cc8dced916f0ee045356afeb08.tar.gz
gdb-4247cafddf8c48cc8dced916f0ee045356afeb08.tar.bz2
* gdb_ptrace.h: Fix typos when checking for PT_ATTACH. Reported
by Chad Harrington <harrington.chad@gmail.com>.
Diffstat (limited to 'gdb/gdb_ptrace.h')
-rw-r--r--gdb/gdb_ptrace.h4
1 files changed, 2 insertions, 2 deletions
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