This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA/commit/doco] move handing of "set interactive-mode" to gdb_has_a_terminal


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]