diff options
author | Pedro Alves <palves@redhat.com> | 2020-01-10 20:05:50 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2020-01-10 20:05:50 +0000 |
commit | c17e02e1b55b5e9cbdc6581f05bfec96dc8436f4 (patch) | |
tree | 6f080d1a83ae57b3a12b1a7c246163126afbaaf3 /ChangeLog | |
parent | ab1ddbcf110a3f1ad45e3a346d2da98ffb833dec (diff) | |
download | gdb-c17e02e1b55b5e9cbdc6581f05bfec96dc8436f4.zip gdb-c17e02e1b55b5e9cbdc6581f05bfec96dc8436f4.tar.gz gdb-c17e02e1b55b5e9cbdc6581f05bfec96dc8436f4.tar.bz2 |
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:
2020-01-10 Pedro Alves <palves@redhat.com>
* tracefile-tfile.c (tfile_target::close): Assert that trace_fd is
not -1.
Diffstat (limited to 'ChangeLog')
0 files changed, 0 insertions, 0 deletions