This is the mail archive of the gdb@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: TUI


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Warange Rajesh wrote:
> Hi all,
> A small doubt ...
> 
> 1.
> TUI is text-user interface which uses the curses library.
> This implies that if you are in the "normal gdb-intereter" mode ...
> none of the TUI functions should get called.
> But if we take a trace of ... say "breakpoint command" ... it enters
> into a tui_command_loop.
> Could someone please explain this?
> 
> 2.
> Which is the while(1) loop which is responsible for giving the
> interprester prompt. I 've traced this to some extent ... but not
> fully clear where exactly this happens.

This is because you can switch to the TUI mode by using the
CTRL-X CTRL-A key sequence.  You go in the normal mode by using
the same key sequence. For this to happen and work, the tui command
loop must be used.

Stephane

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFFCpO+NyQxO2LzKT0RAisVAKCWb6SsjZlvUOitI1Ce4GZy1SFTFwCgkG88
fRcd6LQExKI2DL4sIxZ0Ra4=
=FTD9
-----END PGP SIGNATURE-----


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