From 97a5b505d2ac545cb154968bb1ec32a734de1dbb Mon Sep 17 00:00:00 2001 From: Daniel Jacobowitz Date: Fri, 13 Nov 2009 22:25:00 +0000 Subject: gdb/testsuite/ * gdb.base/freebpcmd.exp: Delete unused variable. Specify srcfile when setting a breakpoint. --- gdb/testsuite/ChangeLog | 5 +++++ gdb/testsuite/gdb.base/freebpcmd.exp | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index dedfe75..f6a16af 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2009-11-13 Daniel Jacobowitz + + * gdb.base/freebpcmd.exp: Delete unused variable. Specify + srcfile when setting a breakpoint. + 2009-11-13 Maciej W. Rozycki * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine 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; -- cgit v1.1