public inbox for gdb-prs@sourceware.org help / color / mirror / Atom feed
From: "tromey at sourceware dot org" <sourceware-bugzilla@sourceware.org> To: gdb-prs@sourceware.org Subject: [Bug gdb/28948] Enabling/disabling logging over an interpreter switch can crash gdb Date: Fri, 12 Aug 2022 17:23:23 +0000 [thread overview] Message-ID: <bug-28948-4717-P4VQUNig6x@http.sourceware.org/bugzilla/> (raw) In-Reply-To: <bug-28948-4717@http.sourceware.org/bugzilla/> https://sourceware.org/bugzilla/show_bug.cgi?id=28948 --- Comment #3 from Tom Tromey <tromey at sourceware dot org> --- After deeper investigation I found some problems with my idea. The basic issue is that there's no good spot to put the logging: If the logging is early, then anything logged won't be wrapped in MI output formatting. However, if the logging is late, then it won't happen at all for the TUI, since it normally doesn't really use the output stream at all. Maybe it can be salvaged somehow. For the TUI, I tend to think we should merge the TUI and CLI interps. That might eliminate some of the weirdness. -- You are receiving this mail because: You are on the CC list for the bug.
next prev parent reply other threads:[~2022-08-12 17:23 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-03-07 21:38 [Bug gdb/28948] New: " aburgess at redhat dot com 2022-08-10 19:07 ` [Bug gdb/28948] " tromey at sourceware dot org 2022-08-11 13:05 ` tromey at sourceware dot org 2022-08-12 17:23 ` tromey at sourceware dot org [this message] 2022-08-12 20:02 ` tromey at sourceware dot org
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=bug-28948-4717-P4VQUNig6x@http.sourceware.org/bugzilla/ \ --to=sourceware-bugzilla@sourceware.org \ --cc=gdb-prs@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: linkBe 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; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).