add output about frame state to gdb script

This commit is contained in:
2020-01-23 19:27:38 +04:00
parent a919d73fb8
commit 6e6e0c22ed
+10
View File
@@ -12,6 +12,8 @@ handle SIGSEGV nostop noprint
b _start b _start
commands 1 commands 1
p $rsp p $rsp
info frame
info registers
continue continue
end end
@@ -19,6 +21,8 @@ end
b __libc_start_main b __libc_start_main
commands 2 commands 2
p $rsp p $rsp
info frame
info registers
continue continue
end end
@@ -26,6 +30,8 @@ end
b main b main
commands 3 commands 3
p $rsp p $rsp
info frame
info registers
continue continue
end end
@@ -33,6 +39,8 @@ end
b Fun1 b Fun1
commands 4 commands 4
p $rsp p $rsp
info frame
info registers
continue continue
end end
@@ -40,6 +48,8 @@ end
b Fun2 b Fun2
commands 5 commands 5
p $rsp p $rsp
info frame
info registers
printf "\n" printf "\n"
continue continue
end end