This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] python prompt additions at first prompt.
On Fri, Aug 12, 2011 at 7:44 AM, Pedro Alves <pedro@codesourcery.com> wrote:
> On Friday 12 August 2011 14:10:17, Matt Rice wrote:
>> it seems clearer to return early in all sync_execution cases, and
>> limit the potential for introducing the double prompting type of bug.
>> I haven't been able to find any problems with this approach.
>
> I think this breaks the pagination prompt in async mode. ?Try setting
> a breakpoint in a loop, with a command list that just continues:
>
> (gdb) b inloop
> (gdb) commands
> Type commands for breakpoint(s) 2, one per line.
> End with a line saying just "end".
>>c
>>end
> (gdb) c
Yeah it does, thank you for pointing this out.