From 4247cafddf8c48cc8dced916f0ee045356afeb08 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Thu, 23 Jun 2005 09:21:45 +0000 Subject: [PATCH] * gdb_ptrace.h: Fix typos when checking for PT_ATTACH. Reported by Chad Harrington . --- gdb/ChangeLog | 5 +++++ gdb/gdb_ptrace.h | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) 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 -- 2.30.2