[patch] python prompt additions at first prompt.

Pedro Alves pedro@codesourcery.com
Fri Aug 12 14:44:00 GMT 2011


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

-- 
Pedro Alves



More information about the Gdb-patches mailing list