public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug cli/29281] New: cli uses a global to save redirected streams
@ 2022-06-23 20:17 tromey at sourceware dot org
  2022-09-03 21:08 ` [Bug cli/29281] " tromey at sourceware dot org
  2022-12-28  1:33 ` tromey at sourceware dot org
  0 siblings, 2 replies; 3+ messages in thread
From: tromey at sourceware dot org @ 2022-06-23 20:17 UTC (permalink / raw)
  To: gdb-prs

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

            Bug ID: 29281
           Summary: cli uses a global to save redirected streams
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: cli
          Assignee: unassigned at sourceware dot org
          Reporter: tromey at sourceware dot org
  Target Milestone: ---

The CLI uses a global to save streams during redirection:

static std::unique_ptr<saved_output_files> saved_output;

... this seems like it must conflict with 'new-ui', like if
one UI does a redirection it could affect the others.

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

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

* [Bug cli/29281] cli uses a global to save redirected streams
  2022-06-23 20:17 [Bug cli/29281] New: cli uses a global to save redirected streams tromey at sourceware dot org
@ 2022-09-03 21:08 ` tromey at sourceware dot org
  2022-12-28  1:33 ` tromey at sourceware dot org
  1 sibling, 0 replies; 3+ messages in thread
From: tromey at sourceware dot org @ 2022-09-03 21:08 UTC (permalink / raw)
  To: gdb-prs

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

--- Comment #1 from Tom Tromey <tromey at sourceware dot org> ---
I have a partial patch to change redirection to be per-ui.
However it's unclear if/when I'll finish it.

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

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

* [Bug cli/29281] cli uses a global to save redirected streams
  2022-06-23 20:17 [Bug cli/29281] New: cli uses a global to save redirected streams tromey at sourceware dot org
  2022-09-03 21:08 ` [Bug cli/29281] " tromey at sourceware dot org
@ 2022-12-28  1:33 ` tromey at sourceware dot org
  1 sibling, 0 replies; 3+ messages in thread
From: tromey at sourceware dot org @ 2022-12-28  1:33 UTC (permalink / raw)
  To: gdb-prs

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

Tom Tromey <tromey at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|unassigned at sourceware dot org   |tromey at sourceware dot org
   Target Milestone|---                         |13.1
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Tom Tromey <tromey at sourceware dot org> ---
This was removed by

commit 19622df10dd5a8d3567e79d0661770029e4fbcfe
Author: Tom Tromey <tromey@adacore.com>
Date:   Thu Nov 17 08:16:44 2022 -0700

    Remove 'saved_output' global

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

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

end of thread, other threads:[~2022-12-28  1:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-23 20:17 [Bug cli/29281] New: cli uses a global to save redirected streams tromey at sourceware dot org
2022-09-03 21:08 ` [Bug cli/29281] " tromey at sourceware dot org
2022-12-28  1:33 ` tromey at sourceware dot org

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).