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

[ob] testsuite prepare_for_testing() now drops $options


introduced dropping $options for the 3 testcases which use the
PREPARE_FOR_TESTING function now.  Going to commit it as obvious.

It was found as it hid a regression (more just a gcc debuginfo mess, though)
FAIL: gdb.base/break.exp: run until breakpoint set at small function, optimized file
from the recent uncommitted inlining support patch.

2008-06-25  Jan Kratochvil  <>

	* lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.

--- ./gdb/testsuite/lib/gdb.exp	4 May 2008 04:04:11 -0000	1.102
+++ ./gdb/testsuite/lib/gdb.exp	25 Jun 2008 15:30:34 -0000
@@ -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

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