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 79ba5414136a64d97cfb9db1da38bb16f72373b9..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.
@@
-24,6
+24,7
@@
#include "regcache.h"
#include "gdbsupport/byte-vector.h"
#include "gdbarch.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\