mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-03-07 13:39:43 +08:00
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.
This commit is contained in:
parent
2c47921e64
commit
21a7b08989
@ -1,3 +1,11 @@
|
|||||||
|
2012-10-15 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||||||
|
Doug Evans <dje@google.com>
|
||||||
|
|
||||||
|
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 <dje@google.com>
|
2012-10-15 Doug Evans <dje@google.com>
|
||||||
|
|
||||||
* lib/gdb.exp (runto): Fix call to gdb_breakpoint.
|
* lib/gdb.exp (runto): Fix call to gdb_breakpoint.
|
||||||
|
@ -43,8 +43,8 @@ if [set_lang_java] then {
|
|||||||
# signature.
|
# signature.
|
||||||
runto_main
|
runto_main
|
||||||
set function "${testfile}.main(java.lang.String\[\])"
|
set function "${testfile}.main(java.lang.String\[\])"
|
||||||
gdb_breakpoint "$function" { allow-pending }
|
gdb_breakpoint "$function" allow-pending
|
||||||
gdb_breakpoint "${function}void" { allow-pending }
|
gdb_breakpoint "${function}void" allow-pending
|
||||||
gdb_continue_to_breakpoint $function
|
gdb_continue_to_breakpoint $function
|
||||||
|
|
||||||
gdb_test_multiple "ptype jmisc" "ptype jmisc" {
|
gdb_test_multiple "ptype jmisc" "ptype jmisc" {
|
||||||
|
@ -43,8 +43,8 @@ if [set_lang_java] then {
|
|||||||
# signature.
|
# signature.
|
||||||
runto_main
|
runto_main
|
||||||
set function "${testfile}.main(java.lang.String\[\])"
|
set function "${testfile}.main(java.lang.String\[\])"
|
||||||
gdb_breakpoint "$function" { allow-pending }
|
gdb_breakpoint "$function" allow-pending
|
||||||
gdb_breakpoint "${function}void" { allow-pending }
|
gdb_breakpoint "${function}void" allow-pending
|
||||||
gdb_continue_to_breakpoint $function
|
gdb_continue_to_breakpoint $function
|
||||||
|
|
||||||
gdb_test "p jvclass.addprint(4,5,6)" " = 15" "unambiguous static call"
|
gdb_test "p jvclass.addprint(4,5,6)" " = 15" "unambiguous static call"
|
||||||
|
Loading…
Reference in New Issue
Block a user