summaryrefslogtreecommitdiff
path: root/gdb/doc/observer.texi
diff options
context:
space:
mode:
authorPedro Alves <pedro@codesourcery.com>2009-03-25 21:53:10 +0000
committerPedro Alves <pedro@codesourcery.com>2009-03-25 21:53:10 +0000
commit7c7ca1b8250e6b0f97f7eb47d6ab74227a3fabdd (patch)
tree3272c8317a33ea68ae81c106758bd3d72a899b7d /gdb/doc/observer.texi
parent697b6e50ee00d29a2e2a9006bffef55c90a700f9 (diff)
downloadgdb-7c7ca1b8250e6b0f97f7eb47d6ab74227a3fabdd.tar.gz
gdb/
* infrun.c (infrun_thread_thread_exit): New. (_initialize_infrun): Attach it to the thread_exit observer. * thread.c (delete_thread_1): Always call the observer, passing it the silent flag. * mi/mi-interp.c (mi_thread_exit): Add "silent" parameter. If SILENT, return immediately. gdb/doc/ * observer.texi (thread_exit): Add "silent" parameter.
Diffstat (limited to 'gdb/doc/observer.texi')
-rw-r--r--gdb/doc/observer.texi6
1 files changed, 4 insertions, 2 deletions
diff --git a/gdb/doc/observer.texi b/gdb/doc/observer.texi
index f0fc6f45767..4984f318131 100644
--- a/gdb/doc/observer.texi
+++ b/gdb/doc/observer.texi
@@ -134,8 +134,10 @@ previously loaded symbol table data has now been invalidated.
The thread specified by @var{t} has been created.
@end deftypefun
-@deftypefun void thread_exit (struct thread_info *@var{t})
-The thread specified by @var{t} has exited.
+@deftypefun void thread_exit (struct thread_info *@var{t}, int @var{silent})
+The thread specified by @var{t} has exited. The @var{silent} argument
+indicates that @value{GDBN} is removing the thread from its tables
+without wanting to notify the user about it.
@end deftypefun
@deftypefun void thread_stop_requested (ptid_t @var{ptid})