MKCROSSGDB=yes on LP64 host

Masao Uebayashi <[email protected]> Tue, 24 Nov 2009 23:40:04 +0900
Newsgroups gmane.os.netbsd.ports.sh3
Message-ID <[email protected]>
tools/gdb build fails because GDB confuses BFD64 and sh64.  It succeeds if
we build sh64 support.  This is not really right, but better than build
failure or possible GPLv3 pollution. :)

Masao

Index: gnu/dist/gdb6/gdb/config/sh/nbsd.mt
===================================================================
RCS file: /cvsroot/src/gnu/dist/gdb6/gdb/config/sh/nbsd.mt,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 nbsd.mt
--- gnu/dist/gdb6/gdb/config/sh/nbsd.mt	15 May 2006 14:12:04 -0000	1.1.1.1
+++ gnu/dist/gdb6/gdb/config/sh/nbsd.mt	24 Nov 2009 14:35:42 -0000
@@ -1,5 +1,5 @@
 # Target: SuperH running NetBSD
-TDEPFILES= sh-tdep.o shnbsd-tdep.o corelow.o nbsd-tdep.o solib.o solib-svr4.o
+TDEPFILES= sh-tdep.o sh64-tdep.o shnbsd-tdep.o corelow.o nbsd-tdep.o solib.o solib-svr4.o
 DEPRECATED_TM_FILE= tm-nbsd.h
 
 SIM_OBS = remote-sim.o

-- 
Masao Uebayashi / Tombi Inc. / Tel: +81-90-9141-4635