aboutsummaryrefslogtreecommitdiff
path: root/gdb/doc
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2008-08-18 22:35:17 +0000
committerPedro Alves <palves@redhat.com>2008-08-18 22:35:17 +0000
commit5231c1fd732d8cdb7ed92dd3e275ab4698a8052d (patch)
tree5b0fe57134939c5da0bc46b67bd127b15897d656 /gdb/doc
parentf98dfd4b46ff7c68b479181714832b4c5fced87e (diff)
downloadgdb-5231c1fd732d8cdb7ed92dd3e275ab4698a8052d.zip
gdb-5231c1fd732d8cdb7ed92dd3e275ab4698a8052d.tar.gz
gdb-5231c1fd732d8cdb7ed92dd3e275ab4698a8052d.tar.bz2
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')
-rw-r--r--gdb/doc/ChangeLog4
-rw-r--r--gdb/doc/observer.texi4
2 files changed, 8 insertions, 0 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index cc8ef9b..e048b90 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,3 +1,7 @@
+2008-08-18 Pedro Alves <pedro@codesourcery.com>
+
+ * observer.texi (thread_ptid_changed): New.
+
2008-08-18 Luis Machado <luisgpm@br.ibm.com>
* doc/gdb.texinfo (PowerPC): Mention Extended FPR's for POWER7.
diff --git a/gdb/doc/observer.texi b/gdb/doc/observer.texi
index 8d1db14..3e10c5f 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