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] tracepoint: add new trace command "printf"[0] gdb


On Mon, Jan 3, 2011 at 8:29 AM, Hui Zhu <teawater@gmail.com> wrote:
> Hi,
>
> I add a new patch add new trace command "printf".
> This printf is same with the simple gdb command, it can do formatted
> output. ?But it will happen in gdbserver part when it break by a
> tracepoint.
> Then the user can get the format value that he want in tracepint. ?It
> will be more easy and clear to handle the bug sometimes.

One could do this with a breakpoint and attaching commands to the
breakpoint too, right?
Or are they too cumbersome for the intended use case?
[Extending tracepoints like this doesn't seem justified yet, so I'm
just looking for more data.]


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