]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/remote.c
* inferior.h (notice_new_inferior): Declare.
authorPedro Alves <palves@redhat.com>
Wed, 4 Mar 2009 22:50:59 +0000 (22:50 +0000)
committerPedro Alves <palves@redhat.com>
Wed, 4 Mar 2009 22:50:59 +0000 (22:50 +0000)
commit1941c569e4194f66d980d62eb3ab534d8011c3ce
tree1b190f2c2c066a4cb4af981b1e7cdb0bf1209f9b
parent9bde073247a88977fb7cb88974f0b0310f86ebeb
* inferior.h (notice_new_inferior): Declare.
* infcmd.c (notice_new_inferior): New.
* remote.c (remote_add_inferior, remote_add_thread): New.
(notice_new_inferiors): Rename to...
(remote_notice_new_inferior): ... this.  Add RUNNING argument.
Use remote_add_thread instead of add_thread, passing it the
RUNNING argument.  Add an inferior with remote_add_inferior.  If
we just learned about an inferior, call notice_new_inferior.
(record_currthread): Adjust.
(remote_threads_info): Adjust to use remote_notice_new_inferior.
(remote_start_remote, extended_remote_attach_1): Use remote_add_inferior.
(process_stop_reply): Adjust.  Call remote_notice_new_inferior
after handling expedited registers and watchpoint state.
(extended_remote_create_inferior_1): Use remote_add_inferior.
gdb/ChangeLog
gdb/infcmd.c
gdb/inferior.h
gdb/remote.c