This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
[binutils-gdb] Add comments on using board file remote-gdbserver-on-localhost.exp
- From: Yao Qi <qiyao at sourceware dot org>
- To: gdb-cvs at sourceware dot org
- Date: 22 Jun 2015 13:03:06 -0000
- Subject: [binutils-gdb] Add comments on using board file remote-gdbserver-on-localhost.exp
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=07fcd30112bb071e8dda0a2229a860f2874a7816
commit 07fcd30112bb071e8dda0a2229a860f2874a7816
Author: Yao Qi <yao.qi@linaro.org>
Date: Tue Apr 28 10:59:04 2015 +0100
Add comments on using board file remote-gdbserver-on-localhost.exp
This commit is to add comments on using this board file and the
requirements on localhost.
gdb/testsuite:
2015-06-22 Yao Qi <yao.qi@linaro.org>
* boards/remote-gdbserver-on-localhost.exp: Add comments.
Diff:
---
gdb/testsuite/ChangeLog | 4 ++++
gdb/testsuite/boards/remote-gdbserver-on-localhost.exp | 3 +++
2 files changed, 7 insertions(+)
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 3a48bcd..3c8ecc0 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,5 +1,9 @@
2015-06-22 Yao Qi <yao.qi@linaro.org>
+ * boards/remote-gdbserver-on-localhost.exp: Add comments.
+
+2015-06-22 Yao Qi <yao.qi@linaro.org>
+
* lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
aarch64*-*-*.
(skip_hw_watchpoint_tests): Likewise.
diff --git a/gdb/testsuite/boards/remote-gdbserver-on-localhost.exp b/gdb/testsuite/boards/remote-gdbserver-on-localhost.exp
index 6a42b90..138782c 100644
--- a/gdb/testsuite/boards/remote-gdbserver-on-localhost.exp
+++ b/gdb/testsuite/boards/remote-gdbserver-on-localhost.exp
@@ -27,6 +27,9 @@ set_board_info compiler "[find_gcc]"
process_multilib_options ""
+# The sshd should be running on localhost and ssh key should be
+# correctly set up that you ssh to localhost without having to type
+# password.
set_board_info rcp_prog "/usr/bin/scp"
set_board_info rsh_prog "/usr/bin/ssh"
set_board_info protocol standard