gdb/testsuite/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Mon, 15 Oct 2012 19:11:56 +0000 (19:11 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Mon, 15 Oct 2012 19:11:56 +0000 (19:11 +0000)
Fix recent gdb_breakpoint regression.
* gdb.java/jmisc.exp: gdb_breakpoint for $function - remove curly
braces from the parameter.
* gdb.java/jprint.exp: Likewise.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.java/jmisc.exp
gdb/testsuite/gdb.java/jprint.exp

index ceefea58b63951a4ba2a8f7dd6e761a346395fe2..f096987dbeee91ca9e44915bb7fe49e000cddeff 100644 (file)
@@ -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>
 
        * lib/gdb.exp (runto): Fix call to gdb_breakpoint.
index 72158613eadfaa762382d7af1eb36684ef6b90a4..4bd1800a589a323be2d4af2d370e2d3bc10423d9 100644 (file)
@@ -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" {
index b2d5d310cc34c78b5def973ba55636ad9ace9c80..116a4bafd59afa8facb3fa8b73e6128a4d4b8bc5 100644 (file)
@@ -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"
This page took 0.038887 seconds and 4 git commands to generate.