/* Data structures associated with tracepoints in GDB.
- Copyright (C) 1997-2016 Free Software Foundation, Inc.
+ Copyright (C) 1997-2017 Free Software Foundation, Inc.
This file is part of GDB.
{
trace_stop_reason_unknown,
trace_never_run,
- tstop_command,
+ trace_stop_command,
trace_buffer_full,
trace_disconnected,
tracepoint_passcount,
{
public:
collection_list ();
- ~collection_list ();
void add_wholly_collected (const char *print_name);
void add_aexpr (agent_expr_up aexpr);
void add_register (unsigned int regno);
- void add_memrange (int type, bfd_signed_vma base,
+ void add_memrange (struct gdbarch *gdbarch,
+ int type, bfd_signed_vma base,
unsigned long len);
void collect_symbol (struct symbol *sym,
struct gdbarch *gdbarch,
std::vector<memrange> m_memranges;
- /* Vector owns pointers. */
- std::vector<agent_expr *> m_aexprs;
+ std::vector<agent_expr_up> m_aexprs;
/* True is the user requested a collection of "$_sdata", "static
tracepoint data". */