* 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

@ -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

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