This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb/gdb-7.10-branch] Warn when accessing binaries from remote targets
- From: sergiodj+buildbot at redhat dot com
- To: gdb-testers at sourceware dot org
- Date: Fri, 21 Aug 2015 13:54:34 -0400
- Subject: [binutils-gdb/gdb-7.10-branch] Warn when accessing binaries from remote targets
- Authentication-results: sourceware.org; auth=none
*** TEST RESULTS FOR COMMIT 290f582b49a81b7fa01fc430bad1a7f9af21c922 ***
Author: Gary Benson <gbenson@redhat.com>
Branch: gdb-7.10-branch
Commit: 290f582b49a81b7fa01fc430bad1a7f9af21c922
Warn when accessing binaries from remote targets
GDB provides no indicator of progress during file operations, and can
appear to have locked up during slow remote transfers. This commit
updates GDB to print a warning each time a file is accessed over RSP.
An additional message detailing how to avoid remote transfers is
printed for the first transfer only.
gdb/ChangeLog:
* target.h (struct target_ops) <to_fileio_open>: New argument
warn_if_slow. Update comment. All implementations updated.
(target_fileio_open_warn_if_slow): New declaration.
* target.c (target_fileio_open): Renamed as...
(target_fileio_open_1): ...this. New argument warn_if_slow.
Pass warn_if_slow to implementation. Update debug printing.
(target_fileio_open): New function.
(target_fileio_open_warn_if_slow): Likewise.
* gdb_bfd.c (gdb_bfd_iovec_fileio_open): Use new function
target_fileio_open_warn_if_slow.
gdb/testsuite/ChangeLog:
* gdb.trace/pending.exp: Cope with remote transfer warnings.
- Follow-Ups:
- Failures on Fedora-i686, branch gdb-7.10-branch
- Failures on Fedora-x86_64-m32, branch gdb-7.10-branch
- Failures on Fedora-x86_64-cc-with-index, branch gdb-7.10-branch
- Failures on RHEL-s390x-m64, branch gdb-7.10-branch
- Failures on Fedora-x86_64-native-gdbserver-m64, branch gdb-7.10-branch
- Failures on Fedora-x86_64-native-extended-gdbserver-m32, branch gdb-7.10-branch
- Failures on Fedora-x86_64-native-extended-gdbserver-m64, branch gdb-7.10-branch
- Failures on AIX-POWER7-plain, branch gdb-7.10-branch
- Failures on Fedora-x86_64-m64, branch gdb-7.10-branch
- Failures on Fedora-x86_64-native-gdbserver-m32, branch gdb-7.10-branch
- Failures on Debian-s390x-native-gdbserver-m64, branch gdb-7.10-branch
- Failures on Debian-s390x-m64, branch gdb-7.10-branch
- Failures on Debian-s390x-native-extended-gdbserver-m64, branch gdb-7.10-branch
- Failures on Fedora-ppc64be-cc-with-index, branch gdb-7.10-branch
- Failures on Fedora-s390x-m64, branch gdb-7.10-branch
- Failures on Fedora-ppc64be-m64, branch gdb-7.10-branch
- Failures on Fedora-ppc64be-native-gdbserver-m64, branch gdb-7.10-branch
- Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch gdb-7.10-branch
- Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch gdb-7.10-branch
- Failures on Fedora-ppc64le-cc-with-index, branch gdb-7.10-branch
- Failures on Fedora-ppc64le-native-gdbserver-m64, branch gdb-7.10-branch
- Failures on Fedora-ppc64le-m64, branch gdb-7.10-branch
- Failures on Debian-i686, branch gdb-7.10-branch
- Failures on Debian-i686-native-gdbserver, branch gdb-7.10-branch
- Failures on Debian-i686-native-extended-gdbserver, branch gdb-7.10-branch
- Failures on Debian-x86_64-native-extended-gdbserver-m64, branch gdb-7.10-branch
- Failures on Debian-x86_64-m64, branch gdb-7.10-branch
- Failures on Debian-x86_64-native-gdbserver-m64, branch gdb-7.10-branch