The libraries are never downloaded to the target for the first test
(test_insert_delete_modify), so the executable can't run properly.
I also added some with_test_prefix to help differentiate between the
different test case phases.
gdb/testsuite/ChangeLog:
* gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
(test_insert_delete_modify): Call mi_load_shlibs before trying to
run.
+2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
+ (test_insert_delete_modify): Call mi_load_shlibs before trying to
+ run.
+
2016-04-01 Artemiy Volkov <artemiyv@acm.org>
PR gdb/19820
proc test_insert_delete_modify { } {
global mi_gdb_prompt
+ global lib_sl1 lib_sl2
gdb_exit
if [mi_gdb_start] {
continue
}
+ mi_load_shlibs $lib_sl1 $lib_sl2
+
mi_run_to_main
mi_gdb_test "break marker" \
}
}
-test_insert_delete_modify
+with_test_prefix "test_insert_delete_modify" {
+ test_insert_delete_modify
+}
# Test 'breakpoint-modified' notification is emited when pending breakpoints are
# resolved.
}
}
-test_pending_resolved
+with_test_prefix "test_pending_resolved" {
+ test_pending_resolved
+}