Hi! This patch fixes a crash when 'tui reg' commands are used in the non-tui mode. Following the 'layout' and other tui specific commands, it now switches to the tui mode and makes sure the tui register window is visible. Committed on 6_1 and mainline. Stephane 2004-03-28 Stephane Carrez * tui/tui-regs.c (tui_show_registers): Make sure the TUI is active and switch the layout to force a display of register window.