This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 02/12] btrace: add format argument to supports_btrace


On 07/14/2014 02:56 PM, Markus Metzger wrote:
> Add a format argument to the various supports_btrace functions to check
> for support of a specific btrace format.  This is to prepare for a new
> format.
> 
> Removed two redundant calls.  The check will be made in the subsequent
> btrace_enable call.


> 
> Moved declarations in btrace-common.h around to break a cyclic dependency
> with gdbserver/server.h.

This should no longer be necessary since
462f517e5020a464e84d2b8535b1b68d39329dc2.

> +/* Target specific branch trace information.  */
> +struct btrace_target_info;
> +
> +/* Enumeration of btrace read types.  */
> +
> +enum btrace_read_type
> +{
> +  /* Send all available trace.  */
> +  BTRACE_READ_ALL,
> +
> +  /* Send all available trace, if it changed.  */
> +  BTRACE_READ_NEW,
> +
> +  /* Send the trace since the last request.  This will fail if the trace
> +     buffer overflowed.  */
> +  BTRACE_READ_DELTA
> +};

What does "Send" mean here?

Thanks,
Pedro Alves


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]