From ef6f3a8b1fb50e7db99538f955879515ad6c9657 Mon Sep 17 00:00:00 2001 From: "K. Richard Pixley" Date: Fri, 2 Oct 1992 05:50:17 +0000 Subject: Rs6000 native support. * infptrace.c: remove #ifdef USG from around include ptrace.h. machines without this header should not be compiling this file. * nm-rs6000.h, rs6000-nat.c: new files for native support. * rs6000-tdep.c: do not include sys/ptrace.h or sys/reg.h. * rs6000-xdep.c: removed. all code now in rs6000-nat.c. * xm-rs6000.h: do not include ptrace.h. (ATTACH_DETACH, FETCH_INFERIOR_REGISTERS): moved to nm-rs6000.h. * config/rs6000.mh (XDEPFILES): removed rs6000-xdep.o. infptrace.o and inftarg.o move to NATDEPFIES. (NAT_FILE, NATDEPFILES): new macro for native support. --- gdb/infptrace.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'gdb/infptrace.c') diff --git a/gdb/infptrace.c b/gdb/infptrace.c index 7117bf9..f97d2c3 100644 --- a/gdb/infptrace.c +++ b/gdb/infptrace.c @@ -22,7 +22,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #include "inferior.h" #include "target.h" -#include "nat.h" +#include "nm.h" #ifdef USG #include @@ -32,13 +32,12 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #include #include #include -#ifndef USG + #ifdef PTRACE_IN_WRONG_PLACE #include #else #include #endif -#endif #if !defined (PT_KILL) #define PT_KILL 8 -- cgit v1.1