This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB 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: [RFA-new version][gdbserver] x86 agent expression bytecode compiler (speed up conditional tracepoints)


On Sun, Jun 20, 2010 at 2:29 AM, Pierre Muller
<pierre.muller@ics-cnrs.unistra.fr> wrote:
> ?As I said in a previous email, Ian's patch didn't work for me.
> http://sourceware.org/ml/gdb-patches/2010-06/msg00424.html

That's weird.
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. :-)

http://sourceware.org/ml/gdb-patches/2010-06/msg00374.html


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