List Info

Thread: TUI




TUI
user name
2006-09-13 06:34:05
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.
-- 
wrr
TUI
user name
2006-09-15 11:51:26
-----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+NyQxO2LzKT0RAisVAKCWb6SsjZlvUOitI1Ce4GZy1SFTFwCg
kG88
fRcd6LQExKI2DL4sIxZ0Ra4=
=FTD9
-----END PGP SIGNATURE-----
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )