This is the mail archive of the gdb@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]

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


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