diff options
author | Michael Snyder <msnyder@vmware.com> | 1999-01-06 03:08:10 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@vmware.com> | 1999-01-06 03:08:10 +0000 |
commit | b53a15146cd81163524f09557f199514a987b766 (patch) | |
tree | be9b6f31c6225a1ac9b265b082dcbf58bcaef1dd /gdb/ChangeLog | |
parent | 1f205f9d6e2d0492e4c76885dd54cb5bdff1f4a3 (diff) | |
download | gdb-b53a15146cd81163524f09557f199514a987b766.zip gdb-b53a15146cd81163524f09557f199514a987b766.tar.gz gdb-b53a15146cd81163524f09557f199514a987b766.tar.bz2 |
* remote.c (record_curthread): Must not modify inferior_pid when
called from wait_for_inferior. Instead, if a new thread-id is
detected, call add_thread. (MAGIC_NULL_PID): new macro, use
instead of the magic number "42000". (remote_find_new_threads):
if inferior_pid is unknown, get and use the current thread id.
(remote_start_remote): on connecting, attempt to get the current
thread id for inferior_pid. (remote_resume): If pid == -1,
then resume any-thread (not the current thread specifically).
* thread.c (info_threads_command): don't initialize current_pid
until after call to FIND_NEW_THREADS (which may change inferior_pid).
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 4ad938f..45bbdb7 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,21 @@ +Tue Jan 5 11:13:36 1999 Michael Snyder <msnyder@cleaver.cygnus.com> + + * remote.c (record_curthread): Must not modify inferior_pid when + called from wait_for_inferior. Instead, if a new thread-id is + detected, call add_thread. (MAGIC_NULL_PID): new macro, use + instead of the magic number "42000". (remote_find_new_threads): + if inferior_pid is unknown, get and use the current thread id. + (remote_start_remote): on connecting, attempt to get the current + thread id for inferior_pid. (remote_resume): If pid == -1, + then resume any-thread (not the current thread specifically). + Also some cosmetic fixups. + + * thread.c (info_threads_command): don't initialize current_pid + until after call to FIND_NEW_THREADS (which may change inferior_pid). + Also some cosmetic fixups. + * infrun.c: cosmetic fixups and casts to avoid warnings. + * infcmd.c: cosmetic fixups, mainly long lines. + Tue Jan 5 11:55:57 1999 David Taylor <taylor@texas.cygnus.com> * target.c (noprocess): terminate sentence with a period. |