aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/lib
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2006-12-31 20:01:25 +0000
committerDaniel Jacobowitz <drow@false.org>2006-12-31 20:01:25 +0000
commit2fa63963cdcc84d690264e4dcf8dd3d7fbacf7d6 (patch)
tree6c96cc87c8400a7b5f487d3941b012db495f6652 /gdb/testsuite/lib
parentfb70130a33bd21e42109cc11eff2d957d630f4f9 (diff)
downloadgdb-2fa63963cdcc84d690264e4dcf8dd3d7fbacf7d6.zip
gdb-2fa63963cdcc84d690264e4dcf8dd3d7fbacf7d6.tar.gz
gdb-2fa63963cdcc84d690264e4dcf8dd3d7fbacf7d6.tar.bz2
* gdb.base/annota1.exp: Allow .*printf in backtraces.
* gdb.base/annota3.exp: Likewise. * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint again (instead of timing out). * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for GCC bug 26475. * gdb.java/jmisc.exp: Adjust to work with method signatures including return types. Add kfails for GDB bugs 2214 and 2215. Move exit test from jmisc1.exp. * gdb.java/jmisc1.exp: Delete. * gdb.java/jprint.exp: Adjust to work with method signatures including return types. * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info. * gdb.threads/linux-dp.exp: Don't be confused by program output. * lib/java.exp (compile_java_from_source): Pass the correct type to target_compile.
Diffstat (limited to 'gdb/testsuite/lib')
-rw-r--r--gdb/testsuite/lib/java.exp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/lib/java.exp b/gdb/testsuite/lib/java.exp
index 3a0b214..648741d 100644
--- a/gdb/testsuite/lib/java.exp
+++ b/gdb/testsuite/lib/java.exp
@@ -1,6 +1,6 @@
# This test code is part of GDB, the GNU debugger.
-# Copyright 1998, 1999, 2000, 2003, 2004
+# Copyright 1998, 1999, 2000, 2003, 2004, 2006
# Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
@@ -111,7 +111,7 @@ proc compile_java_from_source { srcfile binfile compile_args } {
set errname "$errname $compile_args"
}
- set x [target_compile $srcfile ${binfile} ${binfile} $args]
+ set x [target_compile $srcfile ${binfile} executable $args]
if { $x != "" } {
verbose "target_compile failed: $x" 2
return "$errname compilation from source";