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] python prompt additions at first prompt.


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


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