From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12681 invoked by alias); 9 Apr 2013 15:26:02 -0000 Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-prs-owner@sourceware.org Received: (qmail 12640 invoked by uid 48); 9 Apr 2013 15:26:01 -0000 From: "spam_hole at shaw dot ca" To: gdb-prs@sourceware.org Subject: [Bug python/15351] New: GDB should provide a way to tell if the inferior comes from a core file Date: Tue, 09 Apr 2013 15:26:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: python X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: spam_hole at shaw dot ca X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 X-SW-Source: 2013-q2/txt/msg00029.txt.bz2 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.