diff options
author | Pedro Alves <palves@redhat.com> | 2009-03-25 21:53:11 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2009-03-25 21:53:11 +0000 |
commit | a07daef34e77308381c29146b83f8926520755e0 (patch) | |
tree | 8fb676dda3a39560c161a66eea96f0b12c8fea6d /gdb/doc/observer.texi | |
parent | d729566a19c83c452f3a962182d1c6d349562159 (diff) | |
download | gdb-a07daef34e77308381c29146b83f8926520755e0.zip gdb-a07daef34e77308381c29146b83f8926520755e0.tar.gz gdb-a07daef34e77308381c29146b83f8926520755e0.tar.bz2 |
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.texi | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gdb/doc/observer.texi b/gdb/doc/observer.texi index f0fc6f4..4984f31 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}) |