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 20:02:23 +0000 [thread overview] Message-ID: <bug-28948-4717-wCl1NBJBh8@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 #4 from Tom Tromey <tromey at sourceware dot org> --- I think we can salvage this idea by having the interp resume methods install filtering streams that then forward to the ui's own stream (that possibly does logging). The TUI would then save and restore the final raw streams. This way logging will work correctly in all cases and so will the MI filtering. Also this should fix bug #28620 and bug #17697. -- You are receiving this mail because: You are on the CC list for the bug.
prev parent reply other threads:[~2022-08-12 20:02 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 2022-08-12 20:02 ` tromey at sourceware dot org [this message]
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-wCl1NBJBh8@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).