[lldb-dev] [Bug 15521] New: Core file command option

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Mar 14 22:49:23 PDT 2013


            Bug ID: 15521
           Summary: Core file command option
           Product: lldb
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: All Bugs
          Assignee: lldb-dev at cs.uiuc.edu
          Reporter: x at jwp.io
    Classification: Unclassified

lldb -v   

User Story?

I have an interactive test suite (python) that runs the actual test functions
in a child process directly after a fork. In cases where I'm working with C
extension modules in Python, cores happen and this allows me to manage them in
the parent process. The test suite runner (parent) is an interactive process
and I currently launch gdb with it's --core option to get the developer
directly into a context relevant to the crash. I would love to be able to do
this with lldb, but my attempts at creating a temporary file with "target
create --core-file /path/to/core /path/to/executable" and execute lldb with
"lldb -s /path/to/my/temp" have so far failed.

In short:

Could we get a --core option command parameter like gdb's? =)

A more appropriate alternative for this particular case may be a feature like
follow-fork, but I could never get that to work in gdb...

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20130315/cf343961/attachment.html>

More information about the lldb-dev mailing list