I can confirm that upgrading from 13.1-2ubuntu2 to 13.1-2ubuntu2.1 makes gdb functional on my ARM64 machine.
Every program I've tried to debug previously crashed gdb immediately upon `run`. Appears to be fully functional now on a variety of binaries. ** Tags removed: verification-needed verification-needed-lunar ** Tags added: verification-done verification-done-lunar -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to gdb in Ubuntu. https://bugs.launchpad.net/bugs/2040113 Title: gdb crashes upon `run` on some arm64 machines Status in gdb package in Ubuntu: Fix Released Status in gdb source package in Lunar: Fix Committed Bug description: [ Impact ] * gdb 13.1 as shipped in lunar is affected by a bug where it crashes upon `run` on some arm64 machines (confirmed on Apple M-series, both under hypervisor and bare metal, everything else with PAC should also be affected). * It was fixed upstream in gdb 13.2: https://inbox.sourceware.org/gdb- patches/20230316103904.1947447-1-luis.mach...@arm.com/. * Debian bookworm's gdb_13.1-3 also includes the same patch as `aarch64-pauth- registers.patch`. [ Test Plan ] * This diff is confirmed to fix gdb 13.1 in lunar on my arm64 laptop. * This could be tested by running any program under lunar's gdb on any ARM64 PAC machine. [ Where problems could occur ] * Problems aren't particularly likely as the exact patch was included in the last Debian stable. * In theory, a gdb rebuild could possibly cause breakage. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gdb/+bug/2040113/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp