This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC 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: WPP capabilities in gcc


On 26 April 2015 at 22:52, Shoham Peller <shohamp@gmail.com> wrote:
> SystemTap does not give a solution for this, and is not really
> intended for this use:
>
> * It's no cross-platform, it's for Linux
> * It doesn't allow the developer to write the text he wants
> * It doesn't parse the tracing string
>
> The solution I'm talking about is:
> * cross platform
> * Will allow you to write arbitrary trace string
> * Parses the string and the parameters in it (%s, %d) and makes sure
> they are traced too.

A systemtap script can print whatever message it wants and include the
values of whatever variables it wants, without putting any string in
the original program.


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