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: [PATCH v2 00/17] Fast tracepoint support for ARMv7


On 06/29/2016 08:15 PM, Antoine Tremblay wrote:
> 
> Pedro Alves writes:


> OK, I guess I have to find a way to interrupt it, in my case using a
> circular buffer, trying c& and interrupt as no effect or C-c with
> continue...

Sounds like a gdbserver bug.  :-/  You should always be able to
interrupt.  Seems like what you'd get if the signal ends up in the
pending queue, but is then never reported, for whatever reason.
If this is non-stop, could also be related to stopping
with SIGSTOP, which requires special treatment.  Try
with "kill -SIGINT" in the terminal too.

> 
> I'll try a less tight loop and check that's it's in the traced code but
> not in the usleep...
> 
> In the meantime it made me test arm fast tracepoints with a thight loop
> like that and it crashes the inferiror when the agent buffer is full :(

Nice... :-P

> 
> I'll fix that 1st..

Thanks,
Pedro Alves


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