projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tfile_target::close: trace_fd can't be -1
[deliverable/binutils-gdb.git]
/
gdb
/
tracefile-tfile.c
diff --git
a/gdb/tracefile-tfile.c
b/gdb/tracefile-tfile.c
index 1ceb03e6918ec418c119a52da284380d7619d67b..977c0dab06b0c8b94867ea7538060d469f668b79 100644
(file)
--- a/
gdb/tracefile-tfile.c
+++ b/
gdb/tracefile-tfile.c
@@
-616,8
+616,7
@@
tfile_interp_line (char *line, struct uploaded_tp **utpp,
void
tfile_target::close ()
{
- if (trace_fd < 0)
- return;
+ gdb_assert (trace_fd != -1);
inferior_ptid = null_ptid; /* Avoid confusion from thread stuff. */
exit_inferior_silent (current_inferior ());
This page took
0.023918 seconds
and
4
git commands to generate.