* gdb.ada/operator_bp.exp: Clear debug-file-directory.
authorTom Tromey <tromey@redhat.com>
Mon, 5 Mar 2012 21:21:13 +0000 (21:21 +0000)
committerTom Tromey <tromey@redhat.com>
Mon, 5 Mar 2012 21:21:13 +0000 (21:21 +0000)
* gdb.ada/mi_task_arg.exp: Clear debug-file-directory.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.ada/mi_task_arg.exp
gdb/testsuite/gdb.ada/operator_bp.exp

index 4123476cb7c92c896fc2311bd0e67c6940287c8f..c5fb7db19205ccd7a898f1f3f45543895b5d648d 100644 (file)
@@ -1,3 +1,8 @@
+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.
index a8cc59bb45a995f6251d30c9cac1030ed12e1259..0b2013cecd369ca9de1c46318abed5c645906c66 100644 (file)
@@ -37,6 +37,9 @@ mi_delete_breakpoints
 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
index 2be7e0a935091e2accac7cb4a0d1f285942748e7..18cf46df28655391c345a38941b5cefd26966948 100644 (file)
@@ -29,6 +29,9 @@ if {[gdb_compile_ada "${srcfile}" "${binfile}" executable {debug}] != ""} {
 
 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"