diff options
author | Cillian O'Donnell <cpodonnell8@gmail.com> | 2017-08-26 09:15:56 +0100 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2017-08-29 18:06:11 +1000 |
commit | 6a4859e627fa10690741d36b2f1c39a1c4d6cc3a (patch) | |
tree | 39e04c8186bd342f815cfe79641a16febb6c3bc2 /tester/covoar/TraceReaderLogQEMU.cc | |
parent | 4cee5c3d2fa86afc10133d8d93a5d421b1a82c85 (diff) |
covoar: Use rld tempfile and add signals to clean up in event of crash.
Use rld tempfile for temporary files and add fatal signal handling to clean
them up in the event of a crash.
Diffstat (limited to 'tester/covoar/TraceReaderLogQEMU.cc')
-rw-r--r-- | tester/covoar/TraceReaderLogQEMU.cc | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/tester/covoar/TraceReaderLogQEMU.cc b/tester/covoar/TraceReaderLogQEMU.cc index 2250d2b..508074a 100644 --- a/tester/covoar/TraceReaderLogQEMU.cc +++ b/tester/covoar/TraceReaderLogQEMU.cc @@ -35,25 +35,20 @@ * reading the QEMU coverage data files. */ -#include "covoar-config.h" - #include <stdio.h> #include <stdlib.h> #include <sys/stat.h> #include <string.h> #include "qemu-log.h" - #include "app_common.h" #include "TraceReaderBase.h" #include "TraceReaderLogQEMU.h" #include "TraceList.h" - -/* XXX really not always right */ -typedef uint32_t target_ulong; - #include "qemu-traces.h" +#include "rld-process.h" + #if HAVE_STAT64 #define STAT stat64 #else |