This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 02/12] btrace: add format argument to supports_btrace
- From: Pedro Alves <palves at redhat dot com>
- To: Markus Metzger <markus dot t dot metzger at intel dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Wed, 05 Nov 2014 20:45:15 +0000
- Subject: Re: [PATCH 02/12] btrace: add format argument to supports_btrace
- Authentication-results: sourceware.org; auth=none
- References: <1405346196-1804-1-git-send-email-markus dot t dot metzger at intel dot com> <1405346196-1804-3-git-send-email-markus dot t dot metzger at intel dot com>
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