gef➤ p/x 1000
Python Exception <class 'gdb.error'> The program is not being run.:
Error occurred in Python: The program is not being run.
gef➤ p/d 0xdead
Python Exception <class 'gdb.error'> The program is not being run.:
Error occurred in Python: The program is not being run.
It's sortta by design to respect the commands syntax from WinDbg. With this plugin p is not really necessary as you can use the da/db/dw/dd/dq or x commands
I use p/x commands a lot to show dec/hex/etc. values, but after including
gef-extras
those don't work anymore, sincep
is aliased by windbg tonexti
Original gdb
Gef with gef-extras