Install latest/stable of gdb-static
Ubuntu 16.04 or later?
Make sure snap support is enabled in your Desktop store.
You are about to open
Do you wish to proceed?
Thank you for your report. Information you provided will help us investigate further.
There was an error while sending your report. Please try again later.
Generate an embeddable card to be shared on external websites.
gdb & gdbserver, the go-to debugging tools for GNU/Linux and *BSD systems. This provides a minimalized and static build for all supported systems.
Note: To use this debugger, please start it outside of confinement, ie execute it directly:
/snap/gdb-static/current/usr/bin/gdb
/snap/gdb-static/current/usr/bin/gdbserver
You can also add them to your PATH for easy access:
export PATH="$PATH:/snap/gdb-static/current/usr/bin"
Choose your Linux distribution to get detailed installation instructions. If yours is not shown, get more details on the installing snapd documentation.