This is the mail archive of the
mailing list for the GDB project.
Re: [RFA-new version][gdbserver] x86 agent expression bytecode compiler (speed up conditional tracepoints)
On Sun, Jun 20, 2010 at 2:29 AM, Pierre Muller
> ?As I said in a previous email, Ian's patch didn't work for me.
Ian's approach involves removing the "if-always-true" test completely
leaving just an asm.
Can you send me the patch of Ian's that you tried?
> ?I propose here another small patch that fixes the linking failure.
> Using a volatile variable, it explicitly forbids the compiler
> to optimize out code by forbidding the assumption that this value will
> never change.
> ?This works on gcc16, an the approach seems reasonable.
That's my patch. :-)