public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug tui/31301] New: TUI layout reset with file command
@ 2024-01-26 20:19 keiths at redhat dot com
  2024-01-27  1:40 ` [Bug tui/31301] " ssbssa at sourceware dot org
  0 siblings, 1 reply; 2+ messages in thread
From: keiths at redhat dot com @ 2024-01-26 20:19 UTC (permalink / raw)
  To: gdb-prs

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

            Bug ID: 31301
           Summary: TUI layout reset with file command
           Product: gdb
           Version: 14.1
            Status: NEW
          Severity: normal
          Priority: P2
         Component: tui
          Assignee: unassigned at sourceware dot org
          Reporter: keiths at redhat dot com
  Target Milestone: ---

[from a discussion on libera.chat]

If gdb is started with TUI asm layout enabled, using the "file" command will
reset it back to src layout:

$ gdb -q -ex "tui layout asm"
<!-- asm window appears with "[ No Assembly Available ]" -->
(gdb) file a.out
Reading symbols from a.out...
<!-- asm is replaced with src window -->

Related(?): Defining a "hookpost-file" to force asm layout doesn't work.
[One can workaround defining hook-stop or hookpost-run.]

Reproduced with gdb 13.2, 14.1, and master.

-- 
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/31301] TUI layout reset with file command
  2024-01-26 20:19 [Bug tui/31301] New: TUI layout reset with file command keiths at redhat dot com
@ 2024-01-27  1:40 ` ssbssa at sourceware dot org
  0 siblings, 0 replies; 2+ messages in thread
From: ssbssa at sourceware dot org @ 2024-01-27  1:40 UTC (permalink / raw)
  To: gdb-prs

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

Hannes Domani <ssbssa at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ssbssa at sourceware dot org

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

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

end of thread, other threads:[~2024-01-27  1:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-26 20:19 [Bug tui/31301] New: TUI layout reset with file command keiths at redhat dot com
2024-01-27  1:40 ` [Bug tui/31301] " ssbssa 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).