[lldb-dev] [Bug 25071] New: Creating target with default architecture returns invalid target

via lldb-dev lldb-dev at lists.llvm.org
Tue Oct 6 04:40:21 PDT 2015


https://llvm.org/bugs/show_bug.cgi?id=25071

            Bug ID: 25071
           Summary: Creating target with default architecture returns
                    invalid target
           Product: lldb
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: lldb-dev at lists.llvm.org
          Reporter: berykubik at gmail.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

This worked on lldb-3.6:
target = debugger.CreateTargetWithFileAndArch("./test", lldb.LLDB_ARCH_DEFAULT)
assert target.IsValid()

but doesn't work on lldb 3.8 compiled from trunk, it returns an invalid target.
When I manually set the target ("i386-pc-linux", I'm running on Linux Mint
Rafaela 17.2 32-bit), it works and returns a valid target, but
LLDB_ARCH_DEFAULT doesn't work (nor does LLDB_ARCH_DEFAULT_32BIT). Does this
have to be set manually during the compilation of LLDB itself?

-- 
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/20151006/8b15aa75/attachment.html>


More information about the lldb-dev mailing list