This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug corefiles/12071] Regression: just a core file started to ask on quit
- From: "pedro at codesourcery dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: 29 Sep 2010 09:02:37 -0000
- Subject: [Bug corefiles/12071] Regression: just a core file started to ask on quit
- References: <20100929083538.12071.jan.kratochvil@redhat.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From pedro at codesourcery dot com 2010-09-29 09:02 -------
Yeah, the problem is that this no longer works since that patch:
int
have_live_inferiors (void)
{
struct target_ops *t;
/* The check on stratum suffices, as GDB doesn't currently support
multiple target interfaces. */
if (have_inferiors ())
for (t = current_target.beneath; t != NULL; t = t->beneath)
if (t->to_stratum == process_stratum)
return 1;
return 0;
}
since cores are process_stratum now.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=12071
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.