开发者

gdb layout asm doesn't work on mac?

开发者 https://www.devze.com 2023-03-21 00:22 出处:网络
$ gdb test (gdb) start Breakpoint 1 at 0x100000ec8 Starting program: /private/tmp/test Reading symbols for shared libraries +. done
$ 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

精彩评论

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

关注公众号