Nevermind. I double checked the package I was using, and turns out I used an old package without the socket patch (the non-temporal sorting of packages threw me off).
Testing this on x86-64, I can now see the following: GNU gdb (Ubuntu 8.1.1-0ubuntu1) 8.1.1 Copyright (C) 2018 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word". (gdb) set debug remote 1 (gdb) tar rem /var/run/dbus/system_bus_socket Remote debugging using /var/run/dbus/system_bus_socket Sending packet: $qSupported:multiprocess+;swbreak+;hwbreak+;qRelocInsn+;fork-events+;vfork-events+;exec-events+;vContSupported+;QThreadEvents+;no-resumed+;xmlRegisters=i386#6a...Remote communication error. Target disconnected.: Connection reset by peer. As opposed to the previous error message. So this looks good! Thanks for considering this backport. -- 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/1901026 Title: [GDB] No socket file connection support Status in gdb package in Ubuntu: New Status in gdb source package in Bionic: Fix Committed Bug description: GDB on Ubuntu 18.04 (GNU gdb (Ubuntu 8.1-0ubuntu3.2) 8.1.0.20180409-git) does not support connecting to a remote target via a socket file. This is the error we get: (gdb) target remote /run/user/1000/at-spi2-QTZBS0/socket /run/user/1000/at-spi2-QTZBS0/socket: No such device or address. Commit c1168a2f66553cd4730931cf59e3be8378a1a03f enables this in GDB. It would be nice to have it backported. Here's the commit link: https://sourceware.org/git/?p=binutils- gdb.git;a=commit;h=c1168a2f66553cd4730931cf59e3be8378a1a03f To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gdb/+bug/1901026/+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