projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Change inferior thread list to be a thread map
[deliverable/binutils-gdb.git]
/
gdb
/
gdbthread.h
diff --git
a/gdb/gdbthread.h
b/gdb/gdbthread.h
index 04230d3c170e74afe8f16910c9448a035d2b5abe..8d5981a2ef018c7b63c9f99a358d1f0eedd91074 100644
(file)
--- a/
gdb/gdbthread.h
+++ b/
gdb/gdbthread.h
@@
-27,7
+27,6
@@
struct symtab;
#include "frame.h"
#include "ui-out.h"
#include "btrace.h"
#include "frame.h"
#include "ui-out.h"
#include "btrace.h"
-#include "gdbsupport/vec.h"
#include "target/waitstatus.h"
#include "cli/cli-utils.h"
#include "gdbsupport/refcounted-object.h"
#include "target/waitstatus.h"
#include "cli/cli-utils.h"
#include "gdbsupport/refcounted-object.h"
@@
-252,7
+251,6
@@
public:
/* Mark this thread as running and notify observers. */
void set_running (bool running);
/* Mark this thread as running and notify observers. */
void set_running (bool running);
- struct thread_info *next = NULL;
ptid_t ptid; /* "Actual process id";
In fact, this may be overloaded with
kernel thread id, etc. */
ptid_t ptid; /* "Actual process id";
In fact, this may be overloaded with
kernel thread id, etc. */
@@
-430,14
+428,21
@@
extern struct thread_info *add_thread_silent (ptid_t ptid);
extern struct thread_info *add_thread_with_info (ptid_t ptid,
struct private_thread_info *);
extern struct thread_info *add_thread_with_info (ptid_t ptid,
struct private_thread_info *);
-/* Delete an existing thread list entry. */
+/* Delete an existing thread, removing the entry from its inferior's thread
+ map. */
extern void delete_thread (struct thread_info *thread);
extern void delete_thread (struct thread_info *thread);
+/* Like the above, but don't remove the entry from the inferior thread map. */
+extern void delete_thread_noremove(struct thread_info *thread);
+
/* Delete an existing thread list entry, and be quiet about it. Used
after the process this thread having belonged to having already
exited, for example. */
extern void delete_thread_silent (struct thread_info *thread);
/* Delete an existing thread list entry, and be quiet about it. Used
after the process this thread having belonged to having already
exited, for example. */
extern void delete_thread_silent (struct thread_info *thread);
+/* Like the above, but don't remove the entry from the inferior thread map. */
+extern void delete_thread_silent_noremove (thread_info *thread);
+
/* Delete a step_resume_breakpoint from the thread database. */
extern void delete_step_resume_breakpoint (struct thread_info *);
/* Delete a step_resume_breakpoint from the thread database. */
extern void delete_step_resume_breakpoint (struct thread_info *);
@@
-623,7
+628,7
@@
extern void thread_command (const char *tidstr, int from_tty);
/* Print notices on thread events (attach, detach, etc.), set with
`set print thread-events'. */
/* Print notices on thread events (attach, detach, etc.), set with
`set print thread-events'. */
-extern
int
print_thread_events;
+extern
bool
print_thread_events;
/* Prints the list of threads and their details on UIOUT. If
REQUESTED_THREADS, a list of GDB ids/ranges, is not NULL, only
/* Prints the list of threads and their details on UIOUT. If
REQUESTED_THREADS, a list of GDB ids/ranges, is not NULL, only
This page took
0.024924 seconds
and
4
git commands to generate.