aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2009-11-13 22:25:00 +0000
committerDaniel Jacobowitz <drow@false.org>2009-11-13 22:25:00 +0000
commit97a5b505d2ac545cb154968bb1ec32a734de1dbb (patch)
tree5ab1f748b9ee7fbbb850cee4cfeefbc0717a1a9f /gdb/testsuite/gdb.base
parentd3e1fc54d4d03509b5c552d21a06a829406729a2 (diff)
downloadgdb-97a5b505d2ac545cb154968bb1ec32a734de1dbb.zip
gdb-97a5b505d2ac545cb154968bb1ec32a734de1dbb.tar.gz
gdb-97a5b505d2ac545cb154968bb1ec32a734de1dbb.tar.bz2
gdb/testsuite/
* gdb.base/freebpcmd.exp: Delete unused variable. Specify srcfile when setting a breakpoint.
Diffstat (limited to 'gdb/testsuite/gdb.base')
-rw-r--r--gdb/testsuite/gdb.base/freebpcmd.exp3
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.base/freebpcmd.exp b/gdb/testsuite/gdb.base/freebpcmd.exp
index 55cce26..26d5daf 100644
--- a/gdb/testsuite/gdb.base/freebpcmd.exp
+++ b/gdb/testsuite/gdb.base/freebpcmd.exp
@@ -48,7 +48,6 @@ set bug_id 0
set testfile "freebpcmd"
set srcfile ${testfile}.c
-set srcfile1 ${testfile}1.c
set binfile ${objdir}/${subdir}/${testfile}
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } {
@@ -61,7 +60,7 @@ gdb_start
gdb_reinitialize_dir $srcdir/$subdir
gdb_load ${binfile}
-gdb_test "break [gdb_get_line_number "euphonium"]" "" "set breakpoint"
+gdb_test "break ${srcfile}:[gdb_get_line_number "euphonium"]" "" "set breakpoint"
# The goal of all this is to make sure that there's plenty of memory
# churn, and different amounts of it each time the inferior stops;