diff options
| author | Eunji Jeong <eun-ji.jeong@samsung.com> | 2015-02-11 14:28:00 +0900 |
|---|---|---|
| committer | Eunji Jeong <eun-ji.jeong@samsung.com> | 2015-02-11 14:28:00 +0900 |
| commit | 4f1411197bdc7c8c120a951ca340d205d266da12 (patch) | |
| tree | c7b7d3fdbff93567ef01ee706985f4b91fedf0c0 /src | |
| parent | 489f60461c6d9ca4e607fa8c22c5af054e0ff442 (diff) | |
| download | rust-4f1411197bdc7c8c120a951ca340d205d266da12.tar.gz rust-4f1411197bdc7c8c120a951ca340d205d266da12.zip | |
Set solib-search-path to ensure android remote debugger works correctly.
Diffstat (limited to 'src')
| -rw-r--r-- | src/compiletest/runtest.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/compiletest/runtest.rs b/src/compiletest/runtest.rs index 43d0fa48900..54c011832d1 100644 --- a/src/compiletest/runtest.rs +++ b/src/compiletest/runtest.rs @@ -391,6 +391,9 @@ fn run_debuginfo_gdb_test(config: &Config, props: &TestProps, testfile: &Path) { script_str.push_str("set charset UTF-8\n"); script_str.push_str(&format!("file {}\n", exe_file.as_str().unwrap())); script_str.push_str("target remote :5039\n"); + script_str.push_str(&format!("set solib-search-path \ + ./{}/stage2/lib/rustlib/{}/lib/\n", + config.host, config.target)); for line in breakpoint_lines.iter() { script_str.push_str(&format!("break {:?}:{}\n", testfile.filename_display(), |
