aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2012-03-05 21:21:13 +0000
committerTom Tromey <tromey@redhat.com>2012-03-05 21:21:13 +0000
commitd8df103b509c3750e9702b17b8af193cb93437c7 (patch)
treef6d29df0ca91bd3f8f54dc19d07663447d0346f9 /gdb/testsuite
parent2e7941949d5bab63696c842cb5fe3d96edba29fb (diff)
downloadgdb-d8df103b509c3750e9702b17b8af193cb93437c7.zip
gdb-d8df103b509c3750e9702b17b8af193cb93437c7.tar.gz
gdb-d8df103b509c3750e9702b17b8af193cb93437c7.tar.bz2
* gdb.ada/operator_bp.exp: Clear debug-file-directory.
* gdb.ada/mi_task_arg.exp: Clear debug-file-directory.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/gdb.ada/mi_task_arg.exp3
-rw-r--r--gdb/testsuite/gdb.ada/operator_bp.exp3
3 files changed, 11 insertions, 0 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 4123476..c5fb7db 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,5 +1,10 @@
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.
2012-03-04 Yao Qi <yao@codesourcery.com>
diff --git a/gdb/testsuite/gdb.ada/mi_task_arg.exp b/gdb/testsuite/gdb.ada/mi_task_arg.exp
index a8cc59b..0b2013c 100644
--- a/gdb/testsuite/gdb.ada/mi_task_arg.exp
+++ b/gdb/testsuite/gdb.ada/mi_task_arg.exp
@@ -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
diff --git a/gdb/testsuite/gdb.ada/operator_bp.exp b/gdb/testsuite/gdb.ada/operator_bp.exp
index 2be7e0a..18cf46d 100644
--- a/gdb/testsuite/gdb.ada/operator_bp.exp
+++ b/gdb/testsuite/gdb.ada/operator_bp.exp
@@ -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"