$ gdb test
(gdb) start
Breakpoint 1 at 0x100000ec8
Starting program: /private/tmp/test
Reading symbols for shared libraries +. done
Breakpoint 1, 0x0000000100000ec8 in main ()
(gdb) layout asm
Undefined command: "layout". Try "help".
$ gdbtui
-bash: gdbtui: command not found
Is layout
and gdbtui
不适用于Mac OS X
?有哪些替代方案?
根据这个问题 https://stackoverflow.com/questions/6612133/no-tui-support-for-gdb-on-macmac 默认不支持 tui。所以你必须在启用 TUI 的情况下自己编译 gdb。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)