diff options
author | Tom Tromey <tromey@redhat.com> | 2012-03-05 21:21:12 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2012-03-05 21:21:12 +0000 |
commit | 6c754e85cbb4ae4fb9c50618904b111998fb2d63 (patch) | |
tree | 78d5b157f1dae01464d0b352224e3d8e5ed7fc60 /gdb/testsuite/gdb.ada | |
parent | 6eea6d8513cb9b44099f5c134fcec16e3b69e601 (diff) | |
download | gdb-6c754e85cbb4ae4fb9c50618904b111998fb2d63.tar.gz |
* gdb.ada/operator_bp.exp: Clear debug-file-directory.
* gdb.ada/mi_task_arg.exp: Clear debug-file-directory.
Diffstat (limited to 'gdb/testsuite/gdb.ada')
-rw-r--r-- | gdb/testsuite/gdb.ada/mi_task_arg.exp | 3 | ||||
-rw-r--r-- | gdb/testsuite/gdb.ada/operator_bp.exp | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.ada/mi_task_arg.exp b/gdb/testsuite/gdb.ada/mi_task_arg.exp index a8cc59bb45a..0b2013cecd3 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 2be7e0a9350..18cf46df286 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" |