gdb/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Thu, 30 Sep 2010 10:24:40 +0000 (10:24 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Thu, 30 Sep 2010 10:24:40 +0000 (10:24 +0000)
commitcd2effb255e6018687256a2d10072a1e4da0c6c5
treeac6d0a134f37ca0759e8f10558093af355aea302
parentf81bc8b5f1973d3b89d1504adf2fe216e86968c2
gdb/
PR corefiles/12071.
* inferior.c (have_live_inferiors): New variables old_chain, inf and
tp.  Iterate INFERIOR_LIST and call target_has_execution.

gdb/testsuite/
PR corefiles/12071.
* gdb.base/corefile.exp (quit with a process, no question: load core)
(quit with a core file): New tests.
gdb/ChangeLog
gdb/inferior.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/corefile.exp