#gdbserver

hubertfhubertf
2025-06-04

I've never tried gdb remote-debugging, but seeing that there's a new pwndbg out, I felt like trying it out. Unfortunately on MacOS it's only for remote debugging, so let's do that!

terminal 1:
local% ssh -L 12345:localhost:12345 user@remote
remote$ gdbserver :12345 /whatever

terminal 2:
local% ./bin/pwndbg whatever-localcopy
(gdb) target remote localhost:12345

works - see screenshot 🙂

pwndbg remote
2024-04-09

#knowledgedrop

Learned today that #radare2 can attach to #gdbserver

r2 -d gdb://host:port

2023-02-14

Update: I *finally* located the post that to me best summarizes the philosophy in question: queue.acm.org/blogposting.cfm? (this is the ACM repost, appropriately enough). Cc @bcantrill @ahl

#GDB #gdbserver #DTrace #Unix #socat #ssh #Eclipse #Linux

genstar.serviceGenstar@meow.social
2021-11-11
lime with videoscanlime@diode.zone
2021-11-02

serial userspace gdb and the consequences of bus resurrection, and cat // 2021-11-01 diode.zone/videos/watch/cac229

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst