From: Balazs Kezes <rlblaster@gmail.com>
To: gdb-patches@sourceware.org
Subject: Re: [patch] Dummy first call to gdb_has_a_terminal()
Date: Sun, 18 Jul 2010 09:12:00 -0000 [thread overview]
Message-ID: <AANLkTikyL45tuF1aUl3Z8ThtxinJQkUV_7NrK1zg6B-t@mail.gmail.com> (raw)
In-Reply-To: <AANLkTinEb3CWYUe1KlZwICXe4hMY2adiD575Xd4vw_uf@mail.gmail.com>
I've forgotten to add an include file to the patch, so here's the revised patch:
Index: tui-interp.c
===================================================================
RCS file: /cvs/src/src/gdb/tui/tui-interp.c,v
retrieving revision 1.27
diff -c -p -r1.27 tui-interp.c
*** tui-interp.c 17 May 2010 22:21:43 -0000 1.27
--- tui-interp.c 18 Jul 2010 09:07:21 -0000
***************
*** 30,35 ****
--- 30,36 ----
#include "tui/tui.h"
#include "tui/tui-io.h"
#include "exceptions.h"
+ #include "terminal.h"
/* Set to 1 when the TUI mode must be activated when we first start
gdb. */
*************** _initialize_tui_interp (void)
*** 224,229 ****
--- 225,233 ----
tui_command_loop,
};
+ /* Dummy first call to save sane terminal settings. */
+ (void) gdb_has_a_terminal ();
+
/* Create a default uiout builder for the TUI. */
tui_out = tui_out_new (gdb_stdout);
interp_add (interp_new (INTERP_TUI, NULL, tui_out, &procs));
next prev parent reply other threads:[~2010-07-18 9:12 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-18 0:30 Balazs Kezes
2010-07-18 9:12 ` Balazs Kezes [this message]
2010-07-20 14:52 ` Pedro Alves
2010-07-28 7:23 ` Balazs Kezes
2010-07-28 7:28 ` Balazs Kezes
2010-07-28 21:21 ` Balazs Kezes
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=AANLkTikyL45tuF1aUl3Z8ThtxinJQkUV_7NrK1zg6B-t@mail.gmail.com \
--to=rlblaster@gmail.com \
--cc=gdb-patches@sourceware.org \
/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