projects
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Error when gdb_is_target_1 is called without running gdb instance
[binutils-gdb.git]
/
gdb
/
tracefile.c
diff --git
a/gdb/tracefile.c
b/gdb/tracefile.c
index b367f6e403b34bc12deabefed0a28741f9cda806..f7d9331e5b7f60d710bb64f9493481084fc6c587 100644
(file)
--- a/
gdb/tracefile.c
+++ b/
gdb/tracefile.c
@@
-1,6
+1,6
@@
/* Trace file support in GDB.
/* Trace file support in GDB.
- Copyright (C) 1997-20
18
Free Software Foundation, Inc.
+ Copyright (C) 1997-20
22
Free Software Foundation, Inc.
This file is part of GDB.
This file is part of GDB.
@@
-19,10
+19,12
@@
#include "defs.h"
#include "tracefile.h"
#include "defs.h"
#include "tracefile.h"
-#include "ctf.h"
+#include "
trace
ctf.h"
#include "exec.h"
#include "regcache.h"
#include "exec.h"
#include "regcache.h"
-#include "common/byte-vector.h"
+#include "gdbsupport/byte-vector.h"
+#include "gdbarch.h"
+#include "gdbsupport/buildargv.h"
/* Helper macros. */
/* Helper macros. */
@@
-470,13
+472,9
@@
tracefile_target::get_trace_status (struct trace_status *ts)
return -1;
}
return -1;
}
-tracefile_target::tracefile_target ()
-{
- this->to_stratum = process_stratum;
-}
-
+void _initialize_tracefile ();
void
void
-_initialize_tracefile (
void
)
+_initialize_tracefile ()
{
add_com ("tsave", class_trace, tsave_command, _("\
Save the trace data to a file.\n\
{
add_com ("tsave", class_trace, tsave_command, _("\
Save the trace data to a file.\n\