diff options
author | Mark Kettenis <kettenis@gnu.org> | 2004-04-22 21:13:06 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2004-04-22 21:13:06 +0000 |
commit | d195bc9fb02794ac453fecd27c8ce8606ed37e49 (patch) | |
tree | 3699d59fdad8461973107d8d71166e6a53db3d2e /gdb/config | |
parent | 5c98409bd6064e84adfbfaded8484f8215843253 (diff) | |
download | gdb-d195bc9fb02794ac453fecd27c8ce8606ed37e49.zip gdb-d195bc9fb02794ac453fecd27c8ce8606ed37e49.tar.gz gdb-d195bc9fb02794ac453fecd27c8ce8606ed37e49.tar.bz2 |
Add OpenBSD/powerpc support.
* NEWS (New native configurations): Mention OpenBSD/powerpc.
* ppc-tdep.h (struct ppc_reg_offsets): New structure.
(ppc_supply_gregset, ppc_supply_fpregset, ppc_collect_gregset)
(ppc_collect_fpregset): New prototypes.
* ppcobsd-nat.c: New file.
* ppcobsd-tdep.c: New file.
* ppcobsd-tdep.h: New file.
* rs6000-tdep.c: Include "regset.h".
(ppc_supply_reg, ppc_collect_reg, ppc_supply_gregset)
(ppc_supply_fpregset, ppc_collect_gregset, ppc_collect_fpregset):
New functions.
* Makefile.in (ALLDEPFILES): Add pccobsd-nat.c and ppcobsd-tdep.c.
(ppcobsd-nat.o, ppcobsd-tdep.o): New dependencies.
(rs6000-tdep.o): Update dependencies.
* configure.host: Add powerpc-*-openbsd.
* configure.tgt: Add powerpc-*-openbsd.
* config/powerpc/obsd.mh: New file.
* config/powerpc/nm-obsd.h: New file.
* config/powerpc/obsd.mt: New file.
Diffstat (limited to 'gdb/config')
-rw-r--r-- | gdb/config/powerpc/nm-obsd.h | 28 | ||||
-rw-r--r-- | gdb/config/powerpc/obsd.mh | 3 | ||||
-rw-r--r-- | gdb/config/powerpc/obsd.mt | 4 |
3 files changed, 35 insertions, 0 deletions
diff --git a/gdb/config/powerpc/nm-obsd.h b/gdb/config/powerpc/nm-obsd.h new file mode 100644 index 0000000..e59834f --- /dev/null +++ b/gdb/config/powerpc/nm-obsd.h @@ -0,0 +1,28 @@ +/* Native-dependent definitions for OpenBSD/powerpc. + + Copyright 2004 Free Software Foundation, 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_OBSD_H +#define NM_OBSD_H + +/* Get generic BSD native definitions. */ +#include "config/nm-bsd.h" + +#endif /* nm-obsd.h */ diff --git a/gdb/config/powerpc/obsd.mh b/gdb/config/powerpc/obsd.mh new file mode 100644 index 0000000..a20575a --- /dev/null +++ b/gdb/config/powerpc/obsd.mh @@ -0,0 +1,3 @@ +# Host: OpenBSD/powerpc +NATDEPFILES= ppcobsd-nat.o fork-child.o infptrace.o inftarg.o +NAT_FILE= nm-obsd.h diff --git a/gdb/config/powerpc/obsd.mt b/gdb/config/powerpc/obsd.mt new file mode 100644 index 0000000..4441832 --- /dev/null +++ b/gdb/config/powerpc/obsd.mt @@ -0,0 +1,4 @@ +# Target: OpenBSD/powerpc +TDEPFILES= rs6000-tdep.o ppc-sysv-tdep.o ppcobsd-tdep.o \ + corelow.o solib.o solib-svr4.o +TM_FILE= tm-nbsd.h |