aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/sparc/nm-sparclynx.h
diff options
context:
space:
mode:
authorStu Grossman <grossman@cygnus>1994-01-22 01:58:55 +0000
committerStu Grossman <grossman@cygnus>1994-01-22 01:58:55 +0000
commitd575ddc0ef874292672001dc58848befa5325115 (patch)
tree7dc4ccacf310f9df8813efffca814c2403449024 /gdb/config/sparc/nm-sparclynx.h
parent24845456a360df80c98ecbda5e5df485115e62d7 (diff)
downloadgdb-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/sparc/nm-sparclynx.h')
-rw-r--r--gdb/config/sparc/nm-sparclynx.h41
1 files changed, 1 insertions, 40 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 */