canonical / core18

The core18 base snap
14 stars 26 forks source link

hooks/001-extra-packages.chroot: add gdbserver #163

Closed anonymouse64 closed 4 years ago

anonymouse64 commented 4 years ago

gdbserver is needed in order to use the new snap run --experimental-gdbserver feature. Specifically, using gdbserver is much smaller than adding the full gdb package to the base snap, and allows remote gdb debugging on Ubuntu Core.

See also https://forum.snapcraft.io/t/new-experimental-snap-run-experimental-gdbserver-option/18227

See also this PR for the associated core20 PR.