[patch] Differentiate dbg msg on IPA and gdbserver

Yao Qi yao@codesourcery.com
Wed Jan 4 03:14:00 GMT 2012


Hi,
I find debug message printed from IPA and gdbserver are both prefixed
with "gdbserver/tracepoint".  It is unclear.  This patch is to give
different prefix of debug message for IPA and gdbserver.

With this patch applied, this debug log becomes,

 gdbserver/tracepoint: signalling helper thread
 gdbserver/tracepoint: waiting for helper thread's response
-gdbserver/tracepoint: Returning static tracepoint
+ipa: Returning static tracepoint
 gdbserver/tracepoint: helper thread's response received

It becomes clear to see the interaction between gdbserver and IPA.  OK
form mainline?

-- 
Yao (齐尧)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-print-debug-msg.patch
Type: text/x-patch
Size: 670 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20120104/cfb77e59/attachment.bin>


More information about the Gdb-patches mailing list