This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] Locate executables on remote stubs without multiprocess extensions
- From: sergiodj+buildbot at redhat dot com
- To: gdb-testers at sourceware dot org
- Date: Tue, 12 May 2015 06:48:59 -0400
- Subject: [binutils-gdb] Locate executables on remote stubs without multiprocess extensions
- Authentication-results: sourceware.org; auth=none
*** TEST RESULTS FOR COMMIT 835205d078aa3b78180da1512f8019ab064032e7 ***
Author: Gary Benson <gbenson@redhat.com>
Branch: master
Commit: 835205d078aa3b78180da1512f8019ab064032e7
Locate executables on remote stubs without multiprocess extensions
This commit allows GDB to determine filenames of main executables
when debugging using remote stubs without multiprocess extensions.
The qXfer:exec-file:read packet is extended to allow an empty
annex, with the meaning that the remote stub should supply the
filename of whatever it thinks is the current process.
gdb/ChangeLog:
* remote.c (remote_add_inferior): Call exec_file_locate_attach
for fake PIDs as well as real ones.
(remote_pid_to_exec_file): Send empty annex if PID is fake.
gdb/doc/ChangeLog:
* gdb.texinfo (General Query Packets): Document
qXfer:exec-file:read with empty annex.
gdb/gdbserver/ChangeLog:
* server.c (handle_qxfer_exec_file): Use current process
if annex is empty.