This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug python/15351] New: GDB should provide a way to tell if the inferior comes from a core file
- From: "spam_hole at shaw dot ca" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Tue, 09 Apr 2013 15:26:01 +0000
- Subject: [Bug python/15351] New: GDB should provide a way to tell if the inferior comes from a core file
- Auto-submitted: auto-generated
http://sourceware.org/bugzilla/show_bug.cgi?id=15351
Bug #: 15351
Summary: GDB should provide a way to tell if the inferior comes
from a core file
Product: gdb
Version: 7.4
Status: NEW
Severity: normal
Priority: P2
Component: python
AssignedTo: unassigned@sourceware.org
ReportedBy: spam_hole@shaw.ca
Classification: Unclassified
When examining a core file, certain operations are disabled, and others may
behave differently. It would be nice to be able to query if the active inferior
is a core file. Ideally, it would be an attribute of gdb.Inferior.
(from
http://stackoverflow.com/questions/15893058/gdb-scripting-execute-command-only-if-not-debugging-core-file/)
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.