This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
What about add new commands "maintenance agent-breakpoint id expression" and "maintenance agent-eval-breakpoint id expression"
- From: Hui Zhu <hui_zhu at mentor dot com>
- To: "gdb at sourceware dot org" <gdb at sourceware dot org>
- Date: Tue, 12 Jun 2012 08:15:22 +0800
- Subject: What about add new commands "maintenance agent-breakpoint id expression" and "maintenance agent-eval-breakpoint id expression"
Hi guys,
The "maintenance agent" and "maintenance agent-eval" are for translate an expression into remote agent bytecode.
Both of them got address info from frame. But when we use tracepoint or breakpoint with agent code, this address is from tracepoint or breakpoint.
What about add new commands "maintenance agent-breakpoint id expression" and "maintenance agent-eval-breakpoint id expression"? Then we can get the agent code for breakpoint or tracepoint directly.
Thanks,
Hui