Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/gnu/dist/gdb/gdb/config/arm Fix from Ian Lance Taylor to all...



details:   https://anonhg.NetBSD.org/src/rev/7b1c48e15d8c
branches:  trunk
changeset: 555325:7b1c48e15d8c
user:      briggs <briggs%NetBSD.org@localhost>
date:      Fri Nov 14 15:06:15 2003 +0000

description:
Fix from Ian Lance Taylor to allow building a cross-gdb with arm--netbsdelf
target.  Patch as seen on tech-toolchain@.

diffstat:

 gnu/dist/gdb/gdb/config/arm/nbsd.mt   |   4 ++++
 gnu/dist/gdb/gdb/config/arm/tm-nbsd.h |  29 +++++++++++++++++++++++++++++
 2 files changed, 33 insertions(+), 0 deletions(-)

diffs (43 lines):

diff -r dcc4cf9c9761 -r 7b1c48e15d8c gnu/dist/gdb/gdb/config/arm/nbsd.mt
--- a/gnu/dist/gdb/gdb/config/arm/nbsd.mt       Fri Nov 14 15:04:48 2003 +0000
+++ b/gnu/dist/gdb/gdb/config/arm/nbsd.mt       Fri Nov 14 15:06:15 2003 +0000
@@ -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 -r dcc4cf9c9761 -r 7b1c48e15d8c gnu/dist/gdb/gdb/config/arm/tm-nbsd.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/gnu/dist/gdb/gdb/config/arm/tm-nbsd.h     Fri Nov 14 15:06:15 2003 +0000
@@ -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 */



Home | Main Index | Thread Index | Old Index