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 a92104bbf346aad128dddc7c6edbcc26acebc52f..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
19
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,11
+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 "gdbsupport/byte-vector.h"
#include "gdbarch.h"
#include "exec.h"
#include "regcache.h"
#include "gdbsupport/byte-vector.h"
#include "gdbarch.h"
+#include "gdbsupport/buildargv.h"
/* Helper macros. */
/* Helper macros. */
@@
-471,8
+472,9
@@
tracefile_target::get_trace_status (struct trace_status *ts)
return -1;
}
return -1;
}
+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\