2002-05-12 Daniel Jacobowitz <drow@mvista.com>
authorDaniel Jacobowitz <drow@false.org>
Mon, 13 May 2002 01:18:19 +0000 (01:18 +0000)
committerDaniel Jacobowitz <drow@false.org>
Mon, 13 May 2002 01:18:19 +0000 (01:18 +0000)
        * gdb.base/break.exp: Check 'break "marker2"'.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/break.exp

index acca303db7cebb446d171f7394ae8b2a858d32d4..9a857324d73ec2d7459de05e250063d0c7425ec4 100644 (file)
@@ -1,3 +1,7 @@
+2002-05-12  Daniel Jacobowitz  <drow@mvista.com>
+
+       * gdb.base/break.exp: Check 'break "marker2"'.
+
 2002-05-10  Michael Snyder  <msnyder@redhat.com>
 
        * gdb.base/long_long.exp: Fix typo.
index 166f097eb576c3c9444b720f078170838b0a09d2..e3aa922bc500030b221c10f93f8e9ee24774f83e 100644 (file)
@@ -1,5 +1,5 @@
 #   Copyright 1988, 1990, 1991, 1992, 1994, 1995, 1996, 1997, 1998, 1999,
-#   2000
+#   2000, 2002
 #   Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
@@ -83,6 +83,13 @@ gdb_test "break main" \
     "Breakpoint.*at.* file .*$srcfile, line.*" \
     "breakpoint function"
 
+#
+# test break at quoted function
+#
+gdb_test "break \"marker2\"" \
+    "Breakpoint.*at.* file .*$srcfile, line.*" \
+    "breakpoint quoted function"
+
 #
 # test break at function in file
 #
@@ -150,6 +157,7 @@ if {$hp_aCC_compiler} {
 gdb_test "info break" \
     "Num Type\[ \]+Disp Enb Address\[ \]+What.*
 \[0-9\]+\[\t \]+breakpoint     keep y.* in main at .*$srcfile:$main_line.*
+\[0-9\]+\[\t \]+breakpoint     keep y.* in marker2 at .*$srcfile:4\[49\].*
 \[0-9\]+\[\t \]+breakpoint     keep y.* in factorial$proto at .*$srcfile:96.*
 \[0-9\]+\[\t \]+breakpoint     keep y.* in main at .*$srcfile:79.*
 \[0-9\]+\[\t \]+breakpoint     keep y.* in main at .*$srcfile:79.*
@@ -208,6 +216,11 @@ for {set i 6} {$i >= 1} {incr i -1} {
                        "run until file:function($i) breakpoint"
 }
 
+#
+# Run until the breakpoint set at a quoted function
+#
+gdb_test continue "Continuing\\..*Breakpoint \[0-9\]+, (0x\[0-9a-f\]+ in )?marker2 \\(a=43\\) at .*$srcfile:4\[49\].*" \
+               "run until quoted breakpoint"
 #
 # run until the file:function breakpoint at a line number in a file
 #
This page took 0.030508 seconds and 4 git commands to generate.