* gdb_ptrace.h: Fix typos when checking for PT_ATTACH. Reported

by Chad Harrington <harrington.chad@gmail.com>.
This commit is contained in:
Andreas Schwab
2005-06-23 09:21:45 +00:00
parent 7d329e61da
commit 4247cafddf
2 changed files with 7 additions and 2 deletions

View 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