what about a compiler probe?

Mike Stump mrs@apple.com
Mon Nov 27 01:02:00 GMT 2006


On Nov 26, 2006, at 3:20 PM, Basile STARYNKEVITCH wrote:
> The textual protcol should permit to examine, but not change, the  
> compilation state.

Sounds like a bad idea.  I agree with the debugger comment.  You're  
free to start up the compilation process with ptrace from your GUI  
and query/display/modify the state in whatever way you like.  The  
problems I see are that any internal details that are exposed to the  
protocol fixes those details forever, or, should they not be fixed,  
breaks the stability of the protocol.

Another suggestion would be to, if you want just a few status bits,  
add them to -Q and just read those bits on the output.



More information about the Gcc mailing list