* lib/gdb.exp: Abort on missing `site.exp'.

This commit is contained in:
Jan Kratochvil 2007-01-21 22:25:34 +00:00
parent 9ebce043d5
commit 97c3f1f3a2
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2007-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
* lib/gdb.exp: Abort on missing `site.exp'.
2007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
Daniel Jacobowitz <dan@codesourcery.com>

View File

@ -21,6 +21,12 @@
# need to be modified for any target, it can be done with a variable
# or by passing arguments.
if {$tool == ""} {
# Tests would fail, logs on get_compiler_info() would be missing.
send_error "`site.exp' not found, run `make site.exp'!\n"
exit 2
}
load_lib libgloss.exp
global GDB