[Bug dap/34133] Crash when specifying --interpreter=dap and using the `attach` command while in an extended remote context.

cynthia.thayer at pm dot me sourceware-bugzilla@sourceware.org
Thu May 7 19:05:46 GMT 2026


https://sourceware.org/bugzilla/show_bug.cgi?id=34133

--- Comment #7 from Cynthia Thayer <cynthia.thayer at pm dot me> ---
Strangely, when I attempted to make this occur by spinning up a --multi
gdbserver, it does not produce a crash:

#/usr/bin/env bash

gdbserver --multi :2345 &
SERVER_PID=$1
trap 'kill $SERVER_PID' EXIT

gdb -ex run \
  --args gdb --interpreter=dap \
  -ex "target extended-remote :2345" 
  -ex "attach 1"

Perhaps it has to do with this specific debuggers gdbserver, I could make an
issue there, as well.
https://codeberg.org/blackmagic-debug/blackmagic/src/branch/main.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Gdb-prs mailing list