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 13:28:00 -0000 [thread overview]
Message-ID: <3D6BFCCE.4050607@nerim.fr> (raw)
In-Reply-To: <15723.56589.602934.533654@localhost.redhat.com>
Hi!
Elena Zannoni wrote:
>
>
> I am not sure I understand this change, can you comment a bit?
>
> a init_ui_hook. */
> - uiout = cli_out_new (gdb_stdout);
> + tui_old_uiout = uiout = cli_out_new (gdb_stdout);
>
When we start gdb without -tui, the 'tui_old_uiout' was not
set because 'tui_enable/tui_disable' are not called. This is because
we are initializing gdb and thus there are no hooks to remove (ie no
need to and must not call tui_disable).
Later on in the tui loop, the 'tui_old_uiout' is used to re-initialize
'uiout' (since we are not in TUI mode).
Stephane
next prev parent reply other threads:[~2002-08-27 20: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
2002-08-27 13:27 ` Elena Zannoni
2002-08-27 13:28 ` Stephane Carrez [this message]
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=3D6BFCCE.4050607@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