From: Stephane Carrez <stcarrez@nerim.fr>
To: Elena Zannoni <ezannoni@redhat.com>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [RFA]: Make gdb_do_one_event public and fix uiout setting for TUI
Date: Tue, 27 Aug 2002 12:32:00 -0000 [thread overview]
Message-ID: <3D6BEE1A.3080700@nerim.fr> (raw)
In-Reply-To: <15722.45251.205480.778379@localhost.redhat.com>
Hi!
Elena Zannoni wrote:
> Stephane Carrez writes:
> > Hi!
> >
> > The TUI relies on the modification of the 'uiout' to switch correctly
> > between TUI mode and normal mode. It installs its own ui-out function to
> > catch the output and redirect it in the appropriate curses window.
> > It installs gdb's normal ui-out function when using the plain terminal
> > (non-TUI mode).
>
>
> I am a bit confused here about the uiout switch. I see that it does it
> when you start up the TUI, but there is also a mode switch with
> tui_switch_mode. How does this interact with your change?
>
It's because we can switch on/off the TUI mode while gdb is running
(independently of -tui option).
CTRL-X CTRL-A is bound to tui_switch_mode() which enables TUI mode or
disable it (the effect is similar to using the gdb -tui option, or, not using that option).
The tui_enable() and tui_disable() do all the necessary stuff such as
enter/leave the curses mode, install/remove specific TUI gdb hooks.
The 'uiout' is also switched here so that we write on gdb_stdout
or in curses window.
Stephane
next prev parent reply other threads:[~2002-08-27 19:27 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-08-26 14:22 Stephane Carrez
2002-08-26 15:52 ` Elena Zannoni
2002-08-27 12:32 ` Stephane Carrez [this message]
2002-08-27 13:27 ` Elena Zannoni
2002-08-27 13:28 ` Stephane Carrez
2002-09-09 15:07 ` Elena Zannoni
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3D6BEE1A.3080700@nerim.fr \
--to=stcarrez@nerim.fr \
--cc=ezannoni@redhat.com \
--cc=gdb-patches@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox