This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[commit] Fix testing with custom board files


Vladimir removed gdb/testsuite/config/unknown.exp, which contained
just a fatal error, a little while ago.  We were trying to make it
easier to write completely custom board files for testing - for
instance, we have a couple of unique configs controlling hardware
debuggers which aren't much like the ones in standard DejaGNU.

Unfortunately removing unknown.exp makes dejagnu fall back to its own
config/default.exp which provides a dummy implementation of
${tool}_start, and we lose gdb_start :-(  An empty unknown.exp doesn't
have this problem.

This simple patch makes everything fit together properly again; I've
tested it on m68k-elf with our hardware debug support, and checked it in.

-- 
Daniel Jacobowitz
CodeSourcery

2007-08-13  Daniel Jacobowitz  <dan@codesourcery.com>

	* config/default.exp: New file.

Index: config/default.exp
===================================================================
--- config/default.exp	(revision 0)
+++ config/default.exp	(revision 0)
@@ -0,0 +1,18 @@
+# Copyright (C) 2007
+# Free Software Foundation, Inc.
+
+# 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.  
+
+load_lib gdb.exp


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]