This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug python/15351] New: GDB should provide a way to tell if the inferior comes from a core file


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]