diff options
author | Tom Tromey <tromey@adacore.com> | 2025-06-12 10:48:25 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2025-06-24 08:38:09 -0600 |
commit | 744dabeb29d6fb07f3fe7d91031adc5c85b7f865 (patch) | |
tree | 6b556869cf50921f9d1593ed72d0b55570f553ba /gdb/python/py-connection.c | |
parent | baba7c9a2ae10eb19c8eff6f5c981268b1f3831e (diff) | |
download | binutils-744dabeb29d6fb07f3fe7d91031adc5c85b7f865.zip binutils-744dabeb29d6fb07f3fe7d91031adc5c85b7f865.tar.gz binutils-744dabeb29d6fb07f3fe7d91031adc5c85b7f865.tar.bz2 |
Allow DAP "threads" request when inferior is running
A user pointed out that DAP allows the "threads" request to work when
the inferior is running. This is documented in the overview, not the
specification.
While looking into this, I found a few other issues:
* The _thread_name function was not marked @in_gdb_thread.
This isn't very important but is still an oversight.
* DAP requires all threads to have a name -- the field is not optional
in the "Thread" type.
* There was no test examining events resulting from the inferior
printing to stdout.
This patch fixes all these problems.
Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=33080
Diffstat (limited to 'gdb/python/py-connection.c')
0 files changed, 0 insertions, 0 deletions