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] dynamic printf


> This patch implements a "dynamic printf", which is basically a
> breakpoint with a printf;continue as its command list - but with
> additional features that make it more interesting.

Or like a tracepoint that does printf? Would it influence an operation
such as "next", for instance?

> The syntax of the command is
> 
>     dprintf <location> <format>,<arg>,<arg>...

The idea looks uber-cool to me! The number of times I've had to
rebuild GDB to add some temporary traces...

-- 
Joel


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