* remote-mips.c (gdbthread.h): Include.
authorKevin Buettner <kevinb@redhat.com>
Fri, 5 Mar 2010 16:18:54 +0000 (16:18 +0000)
committerKevin Buettner <kevinb@redhat.com>
Fri, 5 Mar 2010 16:18:54 +0000 (16:18 +0000)
commit8eeafb51abfec5e184ac86ddcd402cc3676afab0
tree6968dda9972dd780a48856e433e51e50ee8403d7
parent26b6f1917c282332b91543abdb10802045ac5628
* remote-mips.c (gdbthread.h): Include.
(remote_mips_ptid): Declare.
(mips_error): Only mourn the inferior when inferior_ptid is non-null.
(common_open): Set inferior_ptid, add it as an inferior, and
as a thread too.  Delete FIXME comment regarding start_remote().
(mips_close): Invoke generic_mourn_inferior().
(mips_kill): Make sure that target_mourn_inferior is invoked.
(mips_mourn_inferior): Don't invoke generic_mourn_inferior, as
it's now invoked from mips_close().
(mips_load): Don't null out inferior_ptid.  Don't call
clear_symtab_users().
(mips_thread_alive, mips_pid_to_str): New functions.
(_initialize_remote_mips): Initialize remote_mips_ptid.  Initialize
to_thread_alive and to_pid_to_str operations.
gdb/ChangeLog
gdb/remote-mips.c