mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-01 20:12:01 +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:
@ -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" {
|
||||
|
@ -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"
|
||||
|
Reference in New Issue
Block a user