Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Joel Brobecker <brobecker@adacore.com>
To: gdb-patches@sourceware.org
Subject: Re: [RFA/commit/doco] move handing of "set interactive-mode" to gdb_has_a_terminal
Date: Fri, 21 Jan 2011 19:48:00 -0000	[thread overview]
Message-ID: <20110121185746.GD2440@adacore.com> (raw)
In-Reply-To: <1295394141-14863-1-git-send-email-brobecker@adacore.com>

> gdb/ChangeLog:
> 
>         * inflow.c: Include "gdbcmd.h".
>         (interactive_mode): New static global, moved here from top.c.
>         (show_interactive_mode): New function, moved here from top.c.
>         use gdb_has_a_terminal instead of input_from_terminal_p to
>         determine the current mode.
>         (gdb_has_a_terminal): Add handling of the "iteractive-mode"
>         setting.
>         (_initialize_inflow): Add the "set/show interactive-mode"
>         commands.  Moved here from top.c, after having adjusted slightly
>         the help text.
>         * top.c (interactive_mode, show_interactive_mode): Delete, moved
>         to inflow.c.
>         (input_from_terminal_p): Remove handling of "interactive-mode"
>         setting, moved to infow.c.
>         (init_main): Remove creation of the "set/show interactive-mode"
>         commands, moved to inflow.c.
> 
> gdb/doc/ChangeLog:
> 
>         * gdb.texinfo (Other Misc Settings): Rework part of the
>         documentation of the "set interactive mode" command.

Patch checked in with Eli's suggestions (thanks!).

-- 
Joel


  parent reply	other threads:[~2011-01-21 18:58 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-18 23:42 Joel Brobecker
2011-01-19 15:01 ` Eli Zaretskii
2011-01-19 17:27   ` Joel Brobecker
2011-01-20  0:46     ` Eli Zaretskii
2011-01-21 19:48 ` Joel Brobecker [this message]
2011-01-26 15:21   ` Pierre Muller
2011-01-31  3:15     ` Joel Brobecker

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=20110121185746.GD2440@adacore.com \
    --to=brobecker@adacore.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