This is the mail archive of the cygwin-patches@cygwin.com mailing list for the Cygwin 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] debug_printf edits


At 02:20 PM 11/20/2004 -0500, Christopher Faylor wrote:
>On Sat, Nov 20, 2004 at 01:51:16PM -0500, Pierre A. Humblet wrote:
>>Here are minor changes that facilitate grepping traces. 
>>
>>Pierre
>>
>>2004-11-20  Pierre Humblet <pierre.humblet@ieee.org>
>>
>>	* fhandler.cc (fhandler::write): Remove debug_printf.
>>	* pipe.cc (fhandler_pipe::create): Edit syscall_printf format.
>
>What does the inclusion of the word "pipe" add for grepping traces?
>So, you can do a grep on '[0-9]+ = [a-z]'?

Most syscall_printf have the form "res = function (args)",
but the one in pipe.cc is missing "function". 
So the change facilitates grepping, in particular when looking
for many functions at once.

Pierre


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