summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.java
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2012-10-15 19:11:56 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2012-10-15 19:11:56 +0000
commit1ce5c307035afccf57fc08a4a9f5bebf6d28534a (patch)
tree7cb68c4b474a3b70fef8c3c66bc4b4af883871a5 /gdb/testsuite/gdb.java
parent84b4fe601987a7754dca0024a4e0b42c8e71f0c2 (diff)
downloadgdb-1ce5c307035afccf57fc08a4a9f5bebf6d28534a.tar.gz
gdb/testsuite/
Fix recent gdb_breakpoint regression. * gdb.java/jmisc.exp: gdb_breakpoint for $function - remove curly braces from the parameter. * gdb.java/jprint.exp: Likewise.
Diffstat (limited to 'gdb/testsuite/gdb.java')
-rw-r--r--gdb/testsuite/gdb.java/jmisc.exp4
-rw-r--r--gdb/testsuite/gdb.java/jprint.exp4
2 files changed, 4 insertions, 4 deletions
diff --git a/gdb/testsuite/gdb.java/jmisc.exp b/gdb/testsuite/gdb.java/jmisc.exp
index 72158613ead..4bd1800a589 100644
--- a/gdb/testsuite/gdb.java/jmisc.exp
+++ b/gdb/testsuite/gdb.java/jmisc.exp
@@ -43,8 +43,8 @@ if [set_lang_java] then {
# signature.
runto_main
set function "${testfile}.main(java.lang.String\[\])"
- gdb_breakpoint "$function" { allow-pending }
- gdb_breakpoint "${function}void" { allow-pending }
+ gdb_breakpoint "$function" allow-pending
+ gdb_breakpoint "${function}void" allow-pending
gdb_continue_to_breakpoint $function
gdb_test_multiple "ptype jmisc" "ptype jmisc" {
diff --git a/gdb/testsuite/gdb.java/jprint.exp b/gdb/testsuite/gdb.java/jprint.exp
index b2d5d310cc3..116a4bafd59 100644
--- a/gdb/testsuite/gdb.java/jprint.exp
+++ b/gdb/testsuite/gdb.java/jprint.exp
@@ -43,8 +43,8 @@ if [set_lang_java] then {
# signature.
runto_main
set function "${testfile}.main(java.lang.String\[\])"
- gdb_breakpoint "$function" { allow-pending }
- gdb_breakpoint "${function}void" { allow-pending }
+ gdb_breakpoint "$function" allow-pending
+ gdb_breakpoint "${function}void" allow-pending
gdb_continue_to_breakpoint $function
gdb_test "p jvclass.addprint(4,5,6)" " = 15" "unambiguous static call"