summaryrefslogtreecommitdiff
path: root/gdb/doc/observer.texi
diff options
context:
space:
mode:
authorPedro Alves <pedro@codesourcery.com>2008-08-18 22:35:16 +0000
committerPedro Alves <pedro@codesourcery.com>2008-08-18 22:35:16 +0000
commit4ea5edc9147e10b0a1716571facf177294f75a51 (patch)
tree7e1831aa6a22145db082d2fe566166a158b807f9 /gdb/doc/observer.texi
parent29f4dd7bf0e85c26b7702da5ecda035a27a96c9d (diff)
downloadgdb-4ea5edc9147e10b0a1716571facf177294f75a51.tar.gz
2008-08-18 Pedro Alves <pedro@codesourcery.com>
gdb/doc/ * observer.texi (thread_ptid_changed): New. gdb/ * gdbthread.h (thread_change_ptid): Declare. * infrun.c (infrun_thread_ptid_changed): New. (_initialize_infrun): Attach infrun_thread_ptid_changed to the thread_ptid_changed observer. * regcache.c (regcache_thread_ptid_changed): New. (_initialize_regcache): Attach regcache_thread_ptid_changed to the thread_ptid_changed observer. * thread.c (thread_change_ptid): New.
Diffstat (limited to 'gdb/doc/observer.texi')
-rw-r--r--gdb/doc/observer.texi4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/doc/observer.texi b/gdb/doc/observer.texi
index 8d1db1423c7..3e10c5f17bf 100644
--- a/gdb/doc/observer.texi
+++ b/gdb/doc/observer.texi
@@ -175,3 +175,7 @@ The current architecture has changed. The argument @var{newarch} is
a pointer to the new architecture.
@end deftypefun
+@deftypefun void thread_ptid_changed (ptid_t @var{old_ptid}, ptid_t @var{new_ptid})
+The thread's ptid has changed. The @var{old_ptid} parameter specifies
+the old value, and @var{new_ptid} specifies the new value.
+@end deftypefun