public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/4] Thread handle to (GDB internal) thread object mapping
@ 2016-05-05 21:09 Kevin Buettner
  2016-05-05 21:12 ` [PATCH 1/4] Add target method for converting thread handle to thread_info struct pointer Kevin Buettner
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Kevin Buettner @ 2016-05-05 21:09 UTC (permalink / raw)
  To: gdb-patches

This patch set introduces an interface/mechanism for mapping thread
handles to the thread_info structs which GDB uses to keep track of
threads in the inferiors which it's debugging.  I need this in order
to find the GDB thread which corresponds to a saved thread handle (of
type pthread_t) within an implementation of a thread library built
atop pthreads.

Part 1 introduces a target method which maps a thread handle to
the corresponding internal GDB thread object, i.e. something of type
`struct thread_info *'.  An implementation of this new method is
provided for the Linux thread target.  Additional work will be
required, over time, for other thread targets.

Part 2 adds a python interface for the mechanism introduced in part 1.

Part 3 is a documentation patch.

Part 4 adds a test case.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2016-05-06  6:32 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-05 21:09 [PATCH 0/4] Thread handle to (GDB internal) thread object mapping Kevin Buettner
2016-05-05 21:12 ` [PATCH 1/4] Add target method for converting thread handle to thread_info struct pointer Kevin Buettner
2016-05-05 21:14 ` [PATCH 2/4] Add `thread_from_thread_handle' function to (Python) gdb module Kevin Buettner
2016-05-05 21:17 ` [PATCH 3/4] Documentation for gdb.thread_from_thread_handle Kevin Buettner
2016-05-06  6:31   ` Eli Zaretskii
2016-05-06  6:32   ` Eli Zaretskii
2016-05-05 21:19 ` [PATCH 4/4] Test case " Kevin Buettner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).