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 13/17] btrace: non-stop


On 09/09/2015 03:08 PM, Metzger, Markus T wrote:

>>>
>>> Wouldn't the 1st or 2nd pattern skip any $gdb_prompt before the pattern?
>>
>> Yes.  Is that a problem?  Don't we always get another prompt after that
>> error?
> 
> No, we don't.  We have a single prompt that appears somewhere in the output.
> 
> 	(gdb) thread apply all continue

That seems to be root of the problem.  That'll do a synchronous
continue on each thread, one by one.  I think that what you want
is instead:

 	(gdb) thread apply all continue&

And that way you get a single prompt before any breakpoint is hit.

> OK.  This is temporary.  I have not followed the discussion.  Can I force-push
> and remove such a user branch?

I don't think you can force-push today, but you can delete branches, so the
usual workaround of doing delete+push to emulate force-push works fine.
(Myself, I only use the user branches in the master repo to hand off series for
review and testing convenience, and do development / backup elsewhere.)

Thanks,
Pedro Alves


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