aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2008-06-25 15:52:15 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2008-06-25 15:52:15 +0000
commit734a5c36127b30eeea8ea6fea4e8e9114fae01dd (patch)
treed140a34e3f92e739021722141751073ac2fdb411 /gdb/testsuite
parentfe9441f601347a780ae356cd935aef2d37b824ee (diff)
downloadgdb-734a5c36127b30eeea8ea6fea4e8e9114fae01dd.zip
gdb-734a5c36127b30eeea8ea6fea4e8e9114fae01dd.tar.gz
gdb-734a5c36127b30eeea8ea6fea4e8e9114fae01dd.tar.bz2
* lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r--gdb/testsuite/ChangeLog4
-rw-r--r--gdb/testsuite/lib/gdb.exp2
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 91fc47b..8c995e3 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2008-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
+
2008-06-25 Vladimir Prus <vladimir@codesourcery.com>
* gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp
index 99d69ab9..e9b63f5 100644
--- a/gdb/testsuite/lib/gdb.exp
+++ b/gdb/testsuite/lib/gdb.exp
@@ -2732,7 +2732,7 @@ proc clean_restart { executable } {
# Please refer to build_executable for parameter description.
proc prepare_for_testing { testname executable {sources ""} {options {debug}}} {
- if {[build_executable $testname $executable $sources] == -1} {
+ if {[build_executable $testname $executable $sources $options] == -1} {
return -1
}
clean_restart $executable