diff options
author | Dale Rahn <drahn@cvs.openbsd.org> | 2002-07-21 18:51:52 +0000 |
---|---|---|
committer | Dale Rahn <drahn@cvs.openbsd.org> | 2002-07-21 18:51:52 +0000 |
commit | 6d84cff3d1b9d5354e842c923b55c97b940c9b36 (patch) | |
tree | 2271e081e32f5f45139288e5d2efd383c53320c8 /gnu | |
parent | 666759027f6a4168eb960d7a581498321c19630c (diff) |
Fix backtrace support for OpenBSD/powerpc.
This was done in a *BSD independant mode. Look at this again for gdb 5.x
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/usr.bin/binutils/gdb/config/powerpc/ppc-bsd.mt | 3 | ||||
-rw-r--r-- | gnu/usr.bin/binutils/gdb/config/powerpc/tm-ppc-bsd.h | 28 | ||||
-rw-r--r-- | gnu/usr.bin/binutils/gdb/configure.tgt | 2 |
3 files changed, 32 insertions, 1 deletions
diff --git a/gnu/usr.bin/binutils/gdb/config/powerpc/ppc-bsd.mt b/gnu/usr.bin/binutils/gdb/config/powerpc/ppc-bsd.mt new file mode 100644 index 00000000000..c8bccf0e7bb --- /dev/null +++ b/gnu/usr.bin/binutils/gdb/config/powerpc/ppc-bsd.mt @@ -0,0 +1,3 @@ +# Target: PowerPC running eabi +TDEPFILES= rs6000-tdep.o monitor.o dsrec.o ppcbug-rom.o +TM_FILE= tm-ppc-bsd.h diff --git a/gnu/usr.bin/binutils/gdb/config/powerpc/tm-ppc-bsd.h b/gnu/usr.bin/binutils/gdb/config/powerpc/tm-ppc-bsd.h new file mode 100644 index 00000000000..a133806f9c9 --- /dev/null +++ b/gnu/usr.bin/binutils/gdb/config/powerpc/tm-ppc-bsd.h @@ -0,0 +1,28 @@ +/* Macro definitions for Power PC running embedded ABI. + Copyright 1995, 1996 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 TM_PPC_BSD_H +#define TM_PPC_BSD_H + +/* Use generic EABI definitions. */ +#include "powerpc/tm-ppc-eabi.h" + +#undef IBM6000_TARGET + +#endif /* TM_PPC_BSD_H */ diff --git a/gnu/usr.bin/binutils/gdb/configure.tgt b/gnu/usr.bin/binutils/gdb/configure.tgt index 2d6aa4decbd..8852be12dbe 100644 --- a/gnu/usr.bin/binutils/gdb/configure.tgt +++ b/gnu/usr.bin/binutils/gdb/configure.tgt @@ -198,7 +198,7 @@ powerpc-*-aix*) gdb_target=aix ;; powerpcle-*-cygwin32) gdb_target=cygwin32 ;; powerpcle-*-solaris*) gdb_target=solaris ;; powerpc-*-*bsd*) - gdb_target=ppc-eabi + gdb_target=ppc-bsd ;; powerpc-*-eabi* | powerpc-*-linux* | powerpc-*-sysv* | powerpc-*-elf* ) if test x"$powerpc_sim" = x"yes"; then |