From: Jan Kratochvil Date: Mon, 15 Oct 2012 19:11:56 +0000 (+0000) Subject: gdb/testsuite/ X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=21a7b08989a1c860514d5bd840bc29f5ad97d2e6;p=binutils-gdb.git 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. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index ceefea58b63..f096987dbee 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,11 @@ +2012-10-15 Jan Kratochvil + Doug Evans + + Fix recent gdb_breakpoint regression. + * gdb.java/jmisc.exp: gdb_breakpoint for $function - remove curly + braces from the parameter. + * gdb.java/jprint.exp: Likewise. + 2012-10-15 Doug Evans * lib/gdb.exp (runto): Fix call to gdb_breakpoint. 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"