summaryrefslogtreecommitdiff
path: root/gdb/gdb_ptrace.h
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2005-06-23 09:21:45 +0000
committerAndreas Schwab <schwab@suse.de>2005-06-23 09:21:45 +0000
commite3efba2637a01b36e2b4d831e24545b1a966b0ef (patch)
tree5db3ab6e7a2a900469d27a8992a9f539a5ca19f1 /gdb/gdb_ptrace.h
parent32aa50aef6f7ffb939fdc43dd8ab5f3a7bce8980 (diff)
downloadgdb-e3efba2637a01b36e2b4d831e24545b1a966b0ef.tar.gz
* 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 f060ce6fc2e..7d27e3e0585 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