X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Ftracepoint.h;h=56a1f92d9d0cfe0848ea53a6aa0cd5dcd8be72f7;hb=refs%2Fheads%2Fconcurrent-displaced-stepping-2020-04-01;hp=b43fbd7606863297ffbda95b913add51518b3c7a;hpb=8588b356927dabd582d1d67f87a161027cb2aed1;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/tracepoint.h b/gdb/tracepoint.h index b43fbd7606..56a1f92d9d 100644 --- a/gdb/tracepoint.h +++ b/gdb/tracepoint.h @@ -1,5 +1,5 @@ /* Data structures associated with tracepoints in GDB. - Copyright (C) 1997-2018 Free Software Foundation, Inc. + Copyright (C) 1997-2020 Free Software Foundation, Inc. This file is part of GDB. @@ -21,7 +21,7 @@ #include "breakpoint.h" #include "memrange.h" -#include "gdb_vecs.h" +#include "gdbsupport/gdb_vecs.h" #include #include @@ -178,21 +178,21 @@ struct uploaded_tp int orig_size = 0; /* String that is the encoded form of the tracepoint's condition. */ - char *cond = nullptr; + gdb::unique_xmalloc_ptr cond; /* Vectors of strings that are the encoded forms of a tracepoint's actions. */ - std::vector actions; - std::vector step_actions; + std::vector> actions; + std::vector> step_actions; /* The original string defining the location of the tracepoint. */ - char *at_string = nullptr; + gdb::unique_xmalloc_ptr at_string; /* The original string defining the tracepoint's condition. */ - char *cond_string = nullptr; + gdb::unique_xmalloc_ptr cond_string; /* List of original strings defining the tracepoint's actions. */ - std::vector cmd_strings; + std::vector> cmd_strings; /* The tracepoint's current hit count. */ int hit_count = 0;