From: Andreas Schwab Date: Thu, 23 Jun 2005 09:21:45 +0000 (+0000) Subject: * gdb_ptrace.h: Fix typos when checking for PT_ATTACH. Reported X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4247cafddf8c48cc8dced916f0ee045356afeb08;p=binutils-gdb.git * gdb_ptrace.h: Fix typos when checking for PT_ATTACH. Reported by Chad Harrington . --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 236e17e470c..34f798ea7c9 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2005-06-23 Andreas Schwab + + * gdb_ptrace.h: Fix typos when checking for PT_ATTACH. Reported + by Chad Harrington . + 2005-06-22 Mark Kettenis * remote.c (extended_remote_restart): Pass buffer in call to 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