* i386ly-nat.c, i386lynx-nat.c, m68kly-nat.c: Remove. Move

common code into lynx-nat.c.
	* lynx-nat.c:  New module.  Contains portable code for Lynx native
	stuff (mostly ptrace related).
	* config/i386/i386lynx.mh (NATDEPFILES):  i386ly-nat.o -> lynx-nat.o
	* config/m68k/m68klynx.mh (NATDEPFILES):  i386ly-nat.o -> lynx-nat.o

	* config/nm-lynx.h, config/tm-lynx.h:  New files to contain
	non-architecture specific native and target defs.
	* config/i386/nm-i386lynx.h, config/i386/tm-i386lynx.h,
	config/m68k/nm-m68klynx.h, config/m68k/tm-m68klynx.h:  Move all
	(arch) portable stuff into ../{tm nm}-lynx.h.
This commit is contained in:
Stu Grossman
1993-11-17 07:56:28 +00:00
parent d3225ea0ac
commit 92d47a66ec
9 changed files with 101 additions and 96 deletions

View File

@@ -20,6 +20,8 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#ifndef TM_M68KLYNX_H
#define TM_M68KLYNX_H
#include "tm-lynx.h"
/* If PC-2 contains this instruction, then we know what we are in a system
call stub, and the return PC is is at SP+4, instead of SP. */
@@ -33,8 +35,4 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
/* Disable dumbshit alternate breakpoint mechanism needed by 68k stub. */
#undef REMOTE_BREAKPOINT
/* Include COFF shared library support. */
#include "coff-solib.h"
#endif /* TM_M68KLYNX_H */