From 5e0fd052daf722b0fa420a8e0d2d6c85e9eca69f Mon Sep 17 00:00:00 2001 From: briggs Date: Fri, 14 Nov 2003 15:06:15 +0000 Subject: [PATCH] Fix from Ian Lance Taylor to allow building a cross-gdb with arm--netbsdelf target. Patch as seen on tech-toolchain@. --- gnu/dist/gdb/gdb/config/arm/nbsd.mt | 4 ++++ gnu/dist/gdb/gdb/config/arm/tm-nbsd.h | 29 +++++++++++++++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 gnu/dist/gdb/gdb/config/arm/tm-nbsd.h diff --git a/gnu/dist/gdb/gdb/config/arm/nbsd.mt b/gnu/dist/gdb/gdb/config/arm/nbsd.mt index 94971369506d..54daecc65ddc 100644 --- a/gnu/dist/gdb/gdb/config/arm/nbsd.mt +++ b/gnu/dist/gdb/gdb/config/arm/nbsd.mt @@ -1,2 +1,6 @@ # Target: ARM running NetBSD TDEPFILES= arm-tdep.o armnbsd-tdep.o solib.o solib-svr4.o nbsd-tdep.o + +GDB_MULTI_ARCH=GDB_MULTI_ARCH_TM + +TM_FILE=tm-nbsd.h diff --git a/gnu/dist/gdb/gdb/config/arm/tm-nbsd.h b/gnu/dist/gdb/gdb/config/arm/tm-nbsd.h new file mode 100644 index 000000000000..0876b74d97f8 --- /dev/null +++ b/gnu/dist/gdb/gdb/config/arm/tm-nbsd.h @@ -0,0 +1,29 @@ +/* Target-dependent definitions for NetBSD/arm. + 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 + +#define GDB_MULTI_ARCH GDB_MULTI_ARCH_TM + +#include "solib.h" + +#endif /* TM_NBSD_H */