This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug gdb/22841] (regression) Executable gets not download with remote-stdio-gdbserver.exp board


https://sourceware.org/bugzilla/show_bug.cgi?id=22841

--- Comment #8 from Christian <c.schwarzgruber.cs at gmail dot com> ---
Hi Simon!

Sorry for the late reply!

The patch works for me. I can now run the test from a GNU/Linux PC on a remote
machine using the command below.

cd gdb/testsuite
make site.exp
runtest --all --verbose --debug --target_board=remote-stdio-gdbserver
REMOTE_USERNAME=USER REMOTE_HOSTNAME=IP REMOTE_TMPDIR=/tmp

However, it seems that it hangs for quit a while at the stage when it tries to
remove the test file from the target.

PASS: gdb.arch/arm-bl-branch-dest.exp: next
Quitting
/home/dev/workspaces/buildroot/buildroot/buildroot/output/build/host-gdb-8.1/gdb/testsuite/../../gdb/gdb
-nw -nx -data-directory
/home/dev/workspaces/buildroot/buildroot/buildroot/output/build/host-gdb-8.1/gdb/testsuite/../data-directory
 -ex "set auto-connect-native-target off"
doing kill, pid is 32534
pid is 32534
Shell closed.
dirlist is
/home/dev/workspaces/buildroot/buildroot/buildroot/output/build/host-gdb-8.1/gdb/testsuite/boards/../boards
/usr/share/dejagnu/baseboards
Executing on root@192.168.31.7: rm -f /tmp/arm-bl-branch-dest  < 
pid is 32587 32588 -32587 -32588

ls -l /tmp  # on the target
-rwxr-xr-x    1 root     root          5796 Feb 20 07:48 arm-bl-branch-dest
-rwxr-xr-x    1 root     root         12268 Feb 20 07:43 arm-neon
-rwxr-xr-x    1 root     root          5836 Feb 20 07:45
arm-single-step-kernel-helper
-rwxr-xr-x    1 root     root          5712 Feb 20 07:43 arm_vfp27220.x

The test executables are still there.

Thanks!

Christian

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]