diff options
author | Pedro Alves <palves@redhat.com> | 2019-09-06 22:54:12 +0100 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2019-09-06 23:31:05 +0100 |
commit | dbec2282eb4b89f21c96a14ec9ab6670ba4e6ea7 (patch) | |
tree | 075640ce5fa9a5670212408d26322c7f1d3c4fbd /gdb/s12z-tdep.c | |
parent | f5725086fcb3cc9297d8682cc6ccb1f75a6a2516 (diff) | |
download | binutils-gdb-dbec2282eb4b89f21c96a14ec9ab6670ba4e6ea7.tar.gz |
tfile_target::close: trace_fd can't be -1
It's not possible to open a tfile target with an invalid trace_fd, and
it's not possible to close a closed target, so this early return is dead.
gdb/ChangeLog:
yyyy-mm-dd Pedro Alves <palves@redhat.com>
* tracefile-tfile.c (tfile_target::close): Assert that trace_fd is
not -1.
Diffstat (limited to 'gdb/s12z-tdep.c')
0 files changed, 0 insertions, 0 deletions