runonphone: Implement traceswitch support for coda
authorShane Kearns <shane.kearns@accenture.com>
Thu, 15 Sep 2011 14:07:08 +0000 (15:07 +0100)
committerShane Kearns <shane.kearns@accenture.com>
Fri, 16 Sep 2011 11:24:50 +0000 (12:24 +0100)
commit21be1f662196b38e29ae7d0bcceeba16ed155b61
tree6f8b53ae8d0c7043bf7d40f97e185d09dcf181ff
parent3b93ff8f65f55209a5dd8634efc8c92cba2970f8
runonphone: Implement traceswitch support for coda

The traceswitch application redirects debug messages to the USB
port. This was supported by the TRK backend but not by the CODA
backend.

1. CODA backend now recognises mux channel 2 as valid
2. new TextTraceHandler class to attach to channel 2 and decode
   trace packets / print them to stdout
3. CODA signal handler creates a TextTraceHandler & destroys it
   on shutdown

Reviewed-By: Miikka Heikkinen
tools/runonphone/codasignalhandler.cpp
tools/runonphone/runonphone.pro
tools/runonphone/symbianutils/codadevice.cpp
tools/runonphone/texttracehandler.cpp [new file with mode: 0644]
tools/runonphone/texttracehandler.h [new file with mode: 0644]