开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜