diff options
author | D Woodfall <dave@slackbuilds.org> | 2023-05-11 09:16:14 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-05-13 19:27:08 +0700 |
commit | 8e6c725d261078eeb76a362f42efef22425e498f (patch) | |
tree | a451b9cf79a65a4fef24b754c2ea21fddcc84ded /development/gdb-dashboard/README | |
parent | 7ba3f3721a4adee47751a3afb4b60234a3855f73 (diff) |
development/gdb-dashboard: Added (An advanced gdb python interface)
Signed-off-by: B. Watson <urchlay@slackware.uk>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/gdb-dashboard/README')
-rw-r--r-- | development/gdb-dashboard/README | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/development/gdb-dashboard/README b/development/gdb-dashboard/README new file mode 100644 index 0000000000000..702c676e3f2fd --- /dev/null +++ b/development/gdb-dashboard/README @@ -0,0 +1,32 @@ +GDB dashboard is a standalone .gdbinit file written using the Python API +that enables a modular interface showing relevant information about the +program being debugged. Its main goal is to reduce the number of GDB +commands needed to inspect the status of current program thus allowing +the developer to primarily focus on the control flow. + +There are a few ways to enable the dashboard: + +* Add the following line to the end of ~/.gdbinit: + + source /etc/gdbinit.d/dashboard + +* Enable in the GDB command using the -x flag: + + gdb -q -x /etc/gdbinit.d/dashboard ... + +or if using cgdb too: + + cgdb -- -q -x /etc/gdbinit.d/dashboard ... + +You may find that using cgdb and dashboard together works best with a +vertical split. + + Press: + + <Esc> to enter cgdb CLI. + <Ctrl-W> to toggle split orientation. + i to return to GDB insert mode. + +Or add to ~/.cgdb/cdgbrc: + + set wso=vertical |