Sometimes the gdb on a system doesn't have the python support.
So, here's a gdbinit to lay into my ignorance
============BEGIN===============
set disassembly-flavor intel
layout asm
layout regs
define kv
bt
end
define k
bt
end
define g
c
end
define t
stepi
end
define p
nexti
end
define lm
info sharedlibrary
end
define lmvm
info files
end
define bp
break $arg0
end
define ba
break $arg0
end
define bl
info breakpoints
end
define bd
disable $arg0
end
define be
enable $arg0
end
define bc
clear $arg0
end
define r
info registers
end
define u
x/i $arg0
end
============END===============
No comments:
Post a Comment