diff options
author | Jason Thorpe <thorpej@netbsd.org> | 2002-05-08 15:29:36 +0000 |
---|---|---|
committer | Jason Thorpe <thorpej@netbsd.org> | 2002-05-08 15:29:36 +0000 |
commit | afb1028960838736871e1e8ce6d3f8cf73b52d08 (patch) | |
tree | 99c450e8f29d8bbe76c851348dbef2fffd285857 /gdb/config/sh | |
parent | 8aef6ba894fe3c59144ba6c279c2f962a754b078 (diff) | |
download | gdb-afb1028960838736871e1e8ce6d3f8cf73b52d08.tar.gz |
* NEWS: Note new sh*-*-netbsdelf* configuration.
* configure.host: Set gdb_host_cpu to sh for all sh*.
(sh*-*-netbsdelf*): New host.
* configure.tgt: Set gdb_target_cpu to sh for all sh*.
(sh*-*-netbsdelf*): New target.
* sh-nbsd-nat.c: New file.
* sh-nbsd-tdep.c: New file.
* sh-nbsd-tdep.h: New file.
* config/sh/nbsd.mh: New file.
* config/sh/nbsd.mt: New file.
* config/sh/nm-nbsd.h: New file.
* config/sh/tm-nbsd.h: New file.
Diffstat (limited to 'gdb/config/sh')
-rw-r--r-- | gdb/config/sh/nbsd.mh | 4 | ||||
-rw-r--r-- | gdb/config/sh/nbsd.mt | 6 | ||||
-rw-r--r-- | gdb/config/sh/nm-nbsd.h | 28 | ||||
-rw-r--r-- | gdb/config/sh/tm-nbsd.h | 28 |
4 files changed, 66 insertions, 0 deletions
diff --git a/gdb/config/sh/nbsd.mh b/gdb/config/sh/nbsd.mh new file mode 100644 index 00000000000..24040267631 --- /dev/null +++ b/gdb/config/sh/nbsd.mh @@ -0,0 +1,4 @@ +# Host: SuperH running NetBSD +NAT_CLIBS= +NATDEPFILES= infptrace.o inftarg.o fork-child.o sh-nbsd-nat.o +NAT_FILE= nm-nbsd.h diff --git a/gdb/config/sh/nbsd.mt b/gdb/config/sh/nbsd.mt new file mode 100644 index 00000000000..1bece84cf9b --- /dev/null +++ b/gdb/config/sh/nbsd.mt @@ -0,0 +1,6 @@ +# Target: SuperH running NetBSD +TDEPFILES= sh-tdep.o sh-nbsd-tdep.o corelow.o solib.o solib-svr4.o +TM_FILE= tm-nbsd.h + +SIM_OBS = remote-sim.o +SIM = ../sim/sh/libsim.a diff --git a/gdb/config/sh/nm-nbsd.h b/gdb/config/sh/nm-nbsd.h new file mode 100644 index 00000000000..eb38d6b49ea --- /dev/null +++ b/gdb/config/sh/nm-nbsd.h @@ -0,0 +1,28 @@ +/* Native-dependent definitions for SuperH running NetBSD, for GDB. + Copyright 2002 Free Software Foundation, Inc. + Contributed by Wasabi Systems, Inc. + + This file is part of GDB. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. */ + +#ifndef NM_NBSD_H +#define NM_NBSD_H + +/* Get generic NetBSD native definitions. */ +#include "config/nm-nbsd.h" + +#endif /* NM_NBSD_H */ diff --git a/gdb/config/sh/tm-nbsd.h b/gdb/config/sh/tm-nbsd.h new file mode 100644 index 00000000000..37dfe3452e2 --- /dev/null +++ b/gdb/config/sh/tm-nbsd.h @@ -0,0 +1,28 @@ +/* Target-dependent definitions for SuperH running NetBSD, for GDB. + Copyright 2002 Free Software Foundation, Inc. + Contributed by Wasabi Systems, Inc. + + This file is part of GDB. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. */ + +#ifndef TM_NBSD_H +#define TM_NBSD_H + +#include "sh/tm-sh.h" +#include "solib.h" + +#endif /* TM_NBSD_H */ |