* gdb.base/freebpcmd.exp: Delete unused variable. Specify
srcfile when setting a breakpoint.
+2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * gdb.base/freebpcmd.exp: Delete unused variable. Specify
+ srcfile when setting a breakpoint.
+
2009-11-13 Maciej W. Rozycki <macro@codesourcery.com>
* gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
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}] != "" } {
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;