[PATCH] Fast tracepoints
Stan Shebs
stan@codesourcery.com
Wed Jan 6 23:41:00 GMT 2010
Tom Tromey wrote:
>>>>>> "Stan" == Stan Shebs <stanshebs@earthlink.net> writes:
>>>>>>
>
> Stan> Yeah, I considered it. It seemed like a localization mess to be
> Stan> constructing strings from strings, plus I find it distasteful to have
> Stan> the callee decide to allocate space in a way that compels the caller
> Stan> to think about what to do with it. But as you observe, predicates
> Stan> doing printouts isn't great either.
>
> Yeah... well, just for the record, what you have is ok by me.
>
Heh - I thought about it more, and ended up changing to return the
informational string after all. The prospect of multiple prints from
multiple calls was the most distasteful of all! :-)
Stan
More information about the Gdb-patches
mailing list