* gdb.ada/mi_task_arg.exp: Clear debug-file-directory.
+2012-03-05 Tom Tromey <tromey@redhat.com>
+
+ * gdb.ada/operator_bp.exp: Clear debug-file-directory.
+ * gdb.ada/mi_task_arg.exp: Clear debug-file-directory.
+
2012-03-05 Tom Tromey <tromey@redhat.com>
* gdb.java/jprint.java (jprint.main): Keep 'x' live.
mi_gdb_reinitialize_dir $srcdir/$subdir
mi_gdb_load ${binfile}
+# This test won't work properly if system debuginfo is installed.
+mi_gdb_test "-gdb-set debug-file-directory \"\"" ".*"
+
if ![mi_runto "task_switch.break_me"] then {
fail "Cannot run to main, testcase aborted"
return 0
clean_restart ${testfile}
+# This test won't work properly if system debuginfo is installed.
+gdb_test_no_output "set debug-file-directory"
+
set bp_location [gdb_get_line_number "BEGIN" ${testdir}/ops_test.adb]
runto "ops_test.adb:$bp_location"