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 | |
parent | d729566a19c83c452f3a962182d1c6d349562159 (diff) | |
download | binutils-gdb-a07daef34e77308381c29146b83f8926520755e0.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')
-rw-r--r-- | gdb/doc/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/doc/observer.texi | 6 |
2 files changed, 8 insertions, 2 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index d86674afe27..2c4b291a5b3 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,7 @@ +2009-03-25 Pedro Alves <pedro@codesourcery.com> + + * observer.texi (thread_exit): Add "silent" parameter. + 2009-03-22 Pedro Alves <pedro@codesourcery.com> * observer.texi (about_to_proceed): New. 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}) |