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

Pedro Alves palves@redhat.com
Wed Nov 5 20:45:00 GMT 2014


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



More information about the Gdb-patches mailing list