On Fri, Nov 24, 2023 at 11:27 AM Tom de Vries wrote: > When starting gdb in CLI mode, running to main and switching into the TUI > regs > layout: > ... > $ gdb -q a.out -ex start -ex "layout regs" > ... > we get: > ... > +---------------------------------+ > | | > | [ Register Values Unavailable ] | > | | > +---------------------------------+ > ... > > Fix this by updating the TUI_DATA_WIN in tui_apply_current_layout. > > Tested on x86_64-linux. > > PR tui/28600 > Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=28600 > --- > I can confirm I can see this issue on ppc64le Fedora Rawhide and this > patch fixes this. I'm able to see the Register group now > when running "gdb/gdb -q /bin/ls -ex start -ex "layout regs"". I can also confirm this change does not introduce any regressions.