compiled gdb doesn't show debug symbol in Tui mode?

256 Views Asked by At

I compiled gdb source code from scratch on wsl2 in windows 11. And i got lots of errors about the macros and some function interface.I just solved them by hand. Finally i got a gdb elf file,and it work well without Tui mode, but it doesn't show symbol info in Tui mode.

some pics record them. The color of tui mode also seems a little unstrange comparing to original one in wsl2.

The first three figures are compiled GDB(tui mode)

https://i.stack.imgur.com/IFmj0.png

https://i.stack.imgur.com/bVxGA.png

https://i.stack.imgur.com/QSNRE.png

The last one is original GDB(wsl2)

https://i.stack.imgur.com/KWc6D.png

0

There are 0 best solutions below