* top.c (interactive_mode): New static variable.
authorJoel Brobecker <brobecker@gnat.com>
Thu, 10 Sep 2009 18:56:45 +0000 (18:56 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Thu, 10 Sep 2009 18:56:45 +0000 (18:56 +0000)
commit910c5da8fe593c019c041bb7df5760494d6270b2
tree0776efa1eb507cf2af5999160f91c1c878c7b6d6
parent800f6ec8e25806362f05460ed0e8804b60a59960
    * top.c (interactive_mode): New static variable.
        (show_interactive_mode): New function.
        (input_from_terminal_p): If interactive_mode is not auto, then
        use that rather than checking the stdin settings.
        (init_main): Add "set/show interactive-mode" command.
        * NEWS: Add entry for new "set/show interactive-mode" command.
gdb/ChangeLog
gdb/NEWS
gdb/top.c