projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gdb: add target_ops::supports_displaced_step
[deliverable/binutils-gdb.git]
/
gdb
/
tracepoint.h
diff --git
a/gdb/tracepoint.h
b/gdb/tracepoint.h
index b43fbd7606863297ffbda95b913add51518b3c7a..56a1f92d9d0cfe0848ea53a6aa0cd5dcd8be72f7 100644
(file)
--- a/
gdb/tracepoint.h
+++ b/
gdb/tracepoint.h
@@
-1,5
+1,5
@@
/* Data structures associated with tracepoints in GDB.
/* Data structures associated with tracepoints in GDB.
- Copyright (C) 1997-20
18
Free Software Foundation, Inc.
+ Copyright (C) 1997-20
20
Free Software Foundation, Inc.
This file is part of GDB.
This file is part of GDB.
@@
-21,7
+21,7
@@
#include "breakpoint.h"
#include "memrange.h"
#include "breakpoint.h"
#include "memrange.h"
-#include "gdb_vecs.h"
+#include "gdb
support/gdb
_vecs.h"
#include <vector>
#include <string>
#include <vector>
#include <string>
@@
-178,21
+178,21
@@
struct uploaded_tp
int orig_size = 0;
/* String that is the encoded form of the tracepoint's condition. */
int orig_size = 0;
/* String that is the encoded form of the tracepoint's condition. */
-
char *cond = nullptr
;
+
gdb::unique_xmalloc_ptr<char[]> cond
;
/* Vectors of strings that are the encoded forms of a tracepoint's
actions. */
/* Vectors of strings that are the encoded forms of a tracepoint's
actions. */
- std::vector<
char *
> actions;
- std::vector<
char *
> step_actions;
+ std::vector<
gdb::unique_xmalloc_ptr<char[]>
> actions;
+ std::vector<
gdb::unique_xmalloc_ptr<char[]>
> step_actions;
/* The original string defining the location of the tracepoint. */
/* The original string defining the location of the tracepoint. */
-
char *at_string = nullptr
;
+
gdb::unique_xmalloc_ptr<char[]> at_string
;
/* The original string defining the tracepoint's condition. */
/* The original string defining the tracepoint's condition. */
-
char *cond_string = nullptr
;
+
gdb::unique_xmalloc_ptr<char[]> cond_string
;
/* List of original strings defining the tracepoint's actions. */
/* List of original strings defining the tracepoint's actions. */
- std::vector<
char *
> cmd_strings;
+ std::vector<
gdb::unique_xmalloc_ptr<char[]>
> cmd_strings;
/* The tracepoint's current hit count. */
int hit_count = 0;
/* The tracepoint's current hit count. */
int hit_count = 0;
This page took
0.031245 seconds
and
4
git commands to generate.