This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
testing setup: unknown.exp
- From: Vladimir Prus <vladimir at codesourcery dot com>
- To: gdb at sources dot redhat dot com
- Date: Sat, 5 May 2007 12:19:22 +0400
- Subject: testing setup: unknown.exp
Hello!
GDB testing setup includes gdb/testsuite/config/unknown.exp, that
exits with an error immediately when loaded. This causes some problems
when using custom board files. For example, we have this arrangement:
there's a generic board file "some_board_kind.exp" and a number of
more specific board files "some_board_kind-particular_board.exp". The
latter file contains:
load_generic_config "some_board_kind.exp"
followed by setting of various variables used by some_board_kind.exp.
This works good, except that after loading board config file, dejagnu
tries to load file named for 'generic_name' variable. It does not realize
that this file is already loaded by load_generic_config, and worse,
it uses different search path and does not find the right file, and uses
unknown.exp instead.
It appears the easiest solution for this is just removing unknown.exp.
Comments?
- Volodya