diff options
author | Gary Benson <gbenson@redhat.com> | 2015-04-17 09:47:30 +0100 |
---|---|---|
committer | Gary Benson <gbenson@redhat.com> | 2015-04-17 09:47:30 +0100 |
commit | e57f1de3b37e17e1c80515f6e80ecb4ccd1bf0fb (patch) | |
tree | 519f342e28449c2327829ac6c2687f7931463f20 /gdb/gdbserver/linux-low.c | |
parent | c78fa86a213db1bdef328437ac262a4f54577827 (diff) | |
download | gdb-e57f1de3b37e17e1c80515f6e80ecb4ccd1bf0fb.zip gdb-e57f1de3b37e17e1c80515f6e80ecb4ccd1bf0fb.tar.gz gdb-e57f1de3b37e17e1c80515f6e80ecb4ccd1bf0fb.tar.bz2 |
Implement qXfer:exec-file:read in gdbserver
This commit implements the "qXfer:exec-file:read" packet in gdbserver.
gdb/gdbserver/ChangeLog:
* target.h (struct target_ops) <pid_to_exec_file>: New field.
* linux-low.c (linux_target_ops): Initialize pid_to_exec_file.
* server.c (handle_qxfer_exec_file): New function.
(qxfer_packets): Add exec-file entry.
(handle_query): Report qXfer:exec-file:read as supported packet.
Diffstat (limited to 'gdb/gdbserver/linux-low.c')
-rw-r--r-- | gdb/gdbserver/linux-low.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/gdbserver/linux-low.c b/gdb/gdbserver/linux-low.c index a7f8446..1c4c2d7 100644 --- a/gdb/gdbserver/linux-low.c +++ b/gdb/gdbserver/linux-low.c @@ -6433,6 +6433,7 @@ static struct target_ops linux_target_ops = { NULL, #endif linux_supports_range_stepping, + linux_proc_pid_to_exec_file, }; static void |