PCSX2 Documentation/GNU Debugger Tips: Difference between revisions
Jump to navigation
Jump to search
PCSX2 Documentation/GNU Debugger Tips (view source)
Revision as of 20:28, 9 January 2015
, 9 January 2015→GDB basic gui
Line 34: | Line 34: | ||
==GDB basic gui== | ==GDB basic gui== | ||
You can attach gdb to any process of your system. It will stop the process and show the current execution. | You can attach gdb to any process of your system. It will stop the process and show the current execution. | ||
*hint: to get the pcsx2 process id: ps aux |grep pcsx2 | *hint: <code>to get the pcsx2 process id: ps aux |grep pcsx2</code> | ||
*attach the process: attach <Process_ID> | *attach the process: <code>attach <Process_ID></code> | ||
*GDB contains several views. You can see code source, ASM or register. | *GDB contains several views. You can see code source, ASM or register. | ||
*source code: ctrl x ctrl A | *source code: <code>ctrl x ctrl A</code> | ||
*2 panels: ctrl x ctrl 1 | *2 panels: <code>ctrl x ctrl 1</code> | ||
*3 panels: ctrl x ctrl 2 | *3 panels: <code>ctrl x ctrl 2</code> |