I am running gdb GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-51.el7
version. My TUI mode was working seamlessly.
Suddenly, now it is giving error "TUI mode not allowed"
upon issuing command layout src
. When I try to run gdb with -tui
option, gdb is exiting immediately with "TUI mode not allowed"
.
*Asked as new question because none of other threads could help.
I had the same issue. To solve it you have to recompile gdb with TUI support.
These are the steps for Ubuntu:
apt-get build-dep gdb
apt-get source gdb
cd gdb-7.7.1
./configure --enable-tui=yes
make
# grab a coffee
sudo make install
Now you can use TUI with gdb :D
gbd --tui
If you still have issues, try to move the new gdb binary to /usr/bin. the new binary is on the directory gdb.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With