gdb指令记录

2018-11-24  本文已影响0人  半步江南

调试AT&T 代码用到:

as ld

as --gstabs test.s -o test.o
ld test.o -o test

gdb

gdb ./test
break 1
run
info all
print/f $eax
stepi
nexti

上一篇 下一篇

猜你喜欢

热点阅读