diff options
author | Pedro Alves <palves@redhat.com> | 2018-05-22 18:22:09 +0100 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2018-05-22 18:33:21 +0100 |
commit | 0e9a6b2f040e016c9dd7f9841a0272e488ed2fd5 (patch) | |
tree | 9b653162555acea604a883c7e1685053b81431b2 /compile | |
parent | 43c3a0e4735033ed2fe3a4cb65f911cee69f55ae (diff) | |
download | gdb-0e9a6b2f040e016c9dd7f9841a0272e488ed2fd5.zip gdb-0e9a6b2f040e016c9dd7f9841a0272e488ed2fd5.tar.gz gdb-0e9a6b2f040e016c9dd7f9841a0272e488ed2fd5.tar.bz2 |
remote: Small cleanup in compare_section_command
The set_general_process call in compare_sections_command isn't
actually needed. remote_target::verify_memory and
remote_target::xfer_partial already handle making sure the remote is
pointing at the right process or thread.
Getting this out of the way helps a bit with further elimination of
the remote_state global, because we have to handle the case of a user
invoking the command even if not connect to a remote target.
gdb/ChangeLog:
2018-05-22 Pedro Alves <palves@redhat.com>
* remote.c (compare_section_command): Remove set_general_process
call.
Diffstat (limited to 'compile')
0 files changed, 0 insertions, 0 deletions