diff options
author | Stu Grossman <grossman@cygnus> | 1994-01-22 01:58:55 +0000 |
---|---|---|
committer | Stu Grossman <grossman@cygnus> | 1994-01-22 01:58:55 +0000 |
commit | d575ddc0ef874292672001dc58848befa5325115 (patch) | |
tree | 7dc4ccacf310f9df8813efffca814c2403449024 /gdb/config | |
parent | 24845456a360df80c98ecbda5e5df485115e62d7 (diff) | |
download | gdb-d575ddc0ef874292672001dc58848befa5325115.zip gdb-d575ddc0ef874292672001dc58848befa5325115.tar.gz gdb-d575ddc0ef874292672001dc58848befa5325115.tar.bz2 |
* lynx-nat.c: Add Sparc support.
* sparcly-nat.c: Remove. It's useless.
* config/sparc/nm-sparclynx.h: Rewrite.
* config/sparc/sparclynx.mh (NATDEPFILES): Replace sparcly-nat.o
with lynx-nat.o
* config/sparc/tm-sparclynx.h: Rewrite.
Diffstat (limited to 'gdb/config')
-rw-r--r-- | gdb/config/sparc/nm-sparclynx.h | 41 | ||||
-rw-r--r-- | gdb/config/sparc/sparclynx.mh | 2 | ||||
-rw-r--r-- | gdb/config/sparc/tm-sparclynx.h | 7 |
3 files changed, 4 insertions, 46 deletions
diff --git a/gdb/config/sparc/nm-sparclynx.h b/gdb/config/sparc/nm-sparclynx.h index 05a3197..1bb7d5f 100644 --- a/gdb/config/sparc/nm-sparclynx.h +++ b/gdb/config/sparc/nm-sparclynx.h @@ -20,45 +20,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #ifndef NM_SPARCLYNX_H #define NM_SPARCLYNX_H -#include <sys/conf.h> -#include <sys/kernel.h> -#include <sys/mem.h> -#include <sys/signal.h> -#include <sys/time.h> -#include <sys/resource.h> -#include <sys/itimer.h> -#include <sys/file.h> -#include <sys/proc.h> -#include "thread.h" - -/* This is the amount to subtract from u.u_ar0 to get the offset in - the core file of the register values. */ - -#define KERNEL_U_ADDR USRSTACK - -#undef FLOAT_INFO /* No float info yet */ - -#define PTRACE_ARG3_TYPE char* - -/* Override copies of {fetch,store}_inferior_registers in infptrace.c. */ -#define FETCH_INFERIOR_REGISTERS - -/* Thread ID of stopped thread. */ - -#define WIFTID(x) (((union wait *)&x)->w_tid) - -#define CHILD_WAIT - -extern int child_wait PARAMS ((int pid, int *status)); - -#if 0 /* need sparcly-nat.c to define this */ -/* Lynx needs a special definition of this so that we can - print out the pid and thread number seperatly. */ - -#undef target_pid_to_str -#define target_pid_to_str(PID) sparclynx_pid_to_str (PID) - -extern char *sparclynx_pid_to_str PARAMS ((int pid)); -#endif +#include "nm-lynx.h" #endif /* NM_SPARCLYNX_H */ diff --git a/gdb/config/sparc/sparclynx.mh b/gdb/config/sparc/sparclynx.mh index cc0d5ba..51b9495 100644 --- a/gdb/config/sparc/sparclynx.mh +++ b/gdb/config/sparc/sparclynx.mh @@ -2,7 +2,7 @@ XM_FILE= xm-sparclynx.h XDEPFILES= NAT_FILE= nm-sparclynx.h -NATDEPFILES= fork-child.o infptrace.o inftarg.o corelow.o sparcly-nat.o +NATDEPFILES= fork-child.o infptrace.o inftarg.o corelow.o lynx-nat.o REGEX=regex.o REGEX1=regex.o GDBSERVER_LIBS= -lbsd diff --git a/gdb/config/sparc/tm-sparclynx.h b/gdb/config/sparc/tm-sparclynx.h index d62c189..525eeb4 100644 --- a/gdb/config/sparc/tm-sparclynx.h +++ b/gdb/config/sparc/tm-sparclynx.h @@ -20,12 +20,9 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #ifndef TM_SPARCLYNX_H #define TM_SPARCLYNX_H -/* Use generic Sparc definitions. */ +#include "tm-lynx.h" +/* Use generic Sparc definitions. */ #include "sparc/tm-sparc.h" -/* Include COFF shared library support. */ - -#include "coff-solib.h" - #endif /* TM_SPARCLYNX_H */ |