This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[ping] [patch 0/8] GDB/GDBserver talks with agents
- From: Yao Qi <yao at codesourcery dot com>
- To: <gdb-patches at sourceware dot org>
- Date: Sun, 5 Feb 2012 12:32:07 +0800
- Subject: [ping] [patch 0/8] GDB/GDBserver talks with agents
- References: <4F1D55D7.7030506@codesourcery.com>
On 01/23/2012 08:43 PM, Yao Qi wrote:
> When I am working on the new agent library [1], I found that only
> gdbserver is able to interact with agent on static tracepoints only.
> There are two limitations here, 1) only gdbserver is able to talk with
> agent, 2) only static tracepoint operations can be performed by agent.
> In order to make the interface of gdbserver and agent more clear, and
> new agent library as flexible as possible, these two limitations should
> be overcame/removed.
>
> In this patch set, we generalize the original code in
> gdbserver/tracepoint.c to talk with agent for static tracepoint, move
> "common" part into gdb/common/agent.c, so that both gdb and gdbserver
> can call them to interact with agent. Secondly, the communication
> method (sync socket and command buffer) between gdbserver and
> libinproctrace.so is kept, but is generalized to some extent, so that,
> gdb and gdbserver is able to communicate with agent for other purposes,
> such as installing fast tracepoint or evaluating breakpoint conditions.
> The operations for static tracepoint are regarded as one sort of
> commands on this communication channel.
>
> This patch set doesn't change any existing functions of gdb and
> gdbserver, but it makes gdb and gdbserver easier to communicate with
> other agents.
>
Ping this series of patches.
http://sourceware.org/ml/gdb-patches/2012-01/msg00762.html
--
Yao (éå)