aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/start.exp
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2008-11-26 05:25:56 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2008-11-26 05:25:56 +0000
commitfc9b693caa73cacf0db23d3bea3812389ea862bd (patch)
treeceb34174b5c6114d6c932140f6eddf6261959ac2 /gdb/testsuite/gdb.base/start.exp
parentae5a359786fb21bf95678a4e9eebf2ff90114c7a (diff)
downloadgdb-fc9b693caa73cacf0db23d3bea3812389ea862bd.zip
gdb-fc9b693caa73cacf0db23d3bea3812389ea862bd.tar.gz
gdb-fc9b693caa73cacf0db23d3bea3812389ea862bd.tar.bz2
* gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
* gdb.base/start.exp: New comment about an alternative - `runto_main'.
Diffstat (limited to 'gdb/testsuite/gdb.base/start.exp')
-rw-r--r--gdb/testsuite/gdb.base/start.exp4
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.base/start.exp b/gdb/testsuite/gdb.base/start.exp
index f4f9cd9..a6d5a60 100644
--- a/gdb/testsuite/gdb.base/start.exp
+++ b/gdb/testsuite/gdb.base/start.exp
@@ -35,6 +35,9 @@ gdb_start
gdb_reinitialize_dir $srcdir/$subdir
gdb_load ${binfile}
+# This is a testcase specifically for the `start' GDB command. For regular
+# stop-in-main goal in the testcases consider using `runto_main' instead.
+
# For C programs, "start" should stop in main().
if { [gdb_start_cmd] < 0 } {
untested start
@@ -44,4 +47,3 @@ if { [gdb_start_cmd] < 0 } {
gdb_test "" \
"main \\(\\) at .*start.c.*" \
"start"
-