Fix from Ian Lance Taylor to allow building a cross-gdb with arm--netbsdelf

target.  Patch as seen on tech-toolchain@.
This commit is contained in:
briggs 2003-11-14 15:06:15 +00:00
parent 4b26585bd4
commit 5e0fd052da
2 changed files with 33 additions and 0 deletions

View File

@ -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

29
gnu/dist/gdb/gdb/config/arm/tm-nbsd.h vendored Normal file
View File

@ -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 */