public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug tui/9660] gdb can enter TUI in Emacs
       [not found] <bug-9660-4717@http.sourceware.org/bugzilla/>
@ 2015-07-02 13:29 ` palves at redhat dot com
  0 siblings, 0 replies; 2+ messages in thread
From: palves at redhat dot com @ 2015-07-02 13:29 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=9660

Pedro Alves <palves at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
                 CC|                            |palves at redhat dot com
         Resolution|---                         |FIXED

--- Comment #2 from Pedro Alves <palves at redhat dot com> ---
Hi Tom.  I believe this was fixed by 84eda397bcf3ebea00383e4a6a864af59723dafd. 
Closing.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug tui/9660] gdb can enter TUI in Emacs
       [not found] <20081118170801.9660.tromey@redhat.com>
@ 2010-04-19  0:37 ` pedro at codesourcery dot com
  0 siblings, 0 replies; 2+ messages in thread
From: pedro at codesourcery dot com @ 2010-04-19  0:37 UTC (permalink / raw)
  To: gdb-prs


------- Additional Comments From pedro at codesourcery dot com  2010-04-19 00:37 -------
Maybe just forbit the TUI also when annotations are in use?

That is, add an `annotation_level' check here (tui/tui-interp.c):

/* True if enabling the TUI is allowed.  Example, if the top level
   interpreter is MI, enabling curses will certainly lose.  */

int
tui_allowed_p (void)
{
  /* Only if TUI is the top level interpreter.  Also don't try to
     setup curses (and print funny control characters) if we're not
     outputting to a terminal.  */
  return tui_is_toplevel && ui_file_isatty (gdb_stdout);
}

The `tui_is_toplevel' check means that the new emacs version
that has switched to MI no longer has this problem.  Only
current/older versions using annotations may still have to
be tended for, unless emacs doesn't run gdb with a tty,
in which case this is fixed already by the ui_file_isatty check
shown above.  Could you check if you can still reproduce this?


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |WAITING


http://sourceware.org/bugzilla/show_bug.cgi?id=9660

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-07-02 13:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-9660-4717@http.sourceware.org/bugzilla/>
2015-07-02 13:29 ` [Bug tui/9660] gdb can enter TUI in Emacs palves at redhat dot com
     [not found] <20081118170801.9660.tromey@redhat.com>
2010-04-19  0:37 ` pedro at codesourcery dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).