OSDN Git Service

* corelow.c (core_has_fake_pid): New.
authorpalves <palves>
Fri, 9 Oct 2009 00:49:05 +0000 (00:49 +0000)
committerpalves <palves>
Fri, 9 Oct 2009 00:49:05 +0000 (00:49 +0000)
commitded95c1ac454efa55871830b0fd6a8e9965bebe9
tree7aa6d34adbc21485a444710fc0f6e4df9d73d8e1
parente5d04e2d17b9adca8566045523c94b56a5ea974e
* corelow.c (core_has_fake_pid): New.
(core_close): Clear it.
(add_to_thread_list): Fake a pid if one is not found on a Solaris
core.  Add the inferior here.  Always add the thread, don't use
thread_change_ptid.
(core_open): Don't add the main thread or the inferior here unless
we find that the core had no .reg/NN sections.
(get_core_register_section): Handle Solaris cores with fake pids.
gdb/ChangeLog
gdb/corelow.c