summaryrefslogtreecommitdiff
path: root/gdb/m2-lang.h
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2013-10-01 10:56:51 +0000
committerJoel Brobecker <brobecker@gnat.com>2013-10-01 10:56:51 +0000
commit63b4d2410df203b11d23f87e042d3db8ca094f04 (patch)
tree6668048ca204739d78288b5ef6681894c80b4e14 /gdb/m2-lang.h
parentceda0895037ea390baa326c7ed8d7a812289dcfd (diff)
downloadgdb-63b4d2410df203b11d23f87e042d3db8ca094f04.tar.gz
[gdbserver/LynxOS]: Incomplete thread list after --attach
The current implementation is forgetting to populate the thread list when attaching to the process. This results in an incomplete list of threads when debugging a threaded program. Unfortunately, as the added comments hints, there appears to be no way of getting the list of threads via ptrace, other than by spawning the "ps" command, and parsing its output. Not great, but it appears to be the best we can do. gdb/gdbserver/ChangeLog: * lynx-low.c (lynx_add_threads_after_attach): New function. (lynx_attach): Remove call to add_thread. Add call to lynx_add_threads_after_attach instead.
Diffstat (limited to 'gdb/m2-lang.h')
0 files changed, 0 insertions, 0 deletions