GDB&LLDB

Administrator
发布于 2024-01-09 / 23 阅读
0
0

GDB&LLDB

GDB&LLDB

关闭gdb语法高亮

	set style enable off

x command

	x [Address expression]
	x /[Format] [Address expression]
	x /[Length][Format] [Address expression]

	Format
        o - octal
        x - hexadecimal
        d - decimal
        u - unsigned decimal
        t - binary
        f - floating point
        a - address
        c - char
        s - string
        i - instruction

LLDB 打印栈

	echo "thread backtrace all" | lldb -p pid


评论