gdb layout asm doesn't work on mac?
$ 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
not available for Mac OS 开发者_如何学JAVAX
? What are some alternatives?
According to this question there is no tui support on mac by default. So you have to compile gdb yourself with TUI enabled.
精彩评论