[lldb-dev] running lldb-mi with LLDB_DISABLE_PYTHON
Abid, Hafiz via lldb-dev
lldb-dev at lists.llvm.org
Wed Sep 21 06:44:02 PDT 2016
Please provide a little bit more details about the problem. Which command is giving the wrong output?
Regards,
Abid
From: lldb-dev [mailto:lldb-dev-bounces at lists.llvm.org] On Behalf Of Chunseok Lee via lldb-dev
Sent: 21 September 2016 03:15
To: Ilia K
Cc: lldb-dev at lists.llvm.org
Subject: Re: [lldb-dev] running lldb-mi with LLDB_DISABLE_PYTHON
Do you have any idea about regression after applying workaround 1 ? (For example, wrong output in some cases)
2016-09-20 21:37 GMT+09:00 Ilia K <ki.stfu at gmail.com<mailto:ki.stfu at gmail.com>>:
Hi!
Please see possible workarounds in https://llvm.org/bugs/show_bug.cgi?id=28253.
On Tue, Sep 20, 2016 at 10:57 AM, Chunseok Lee via lldb-dev <lldb-dev at lists.llvm.org<mailto:lldb-dev at lists.llvm.org>> wrote:
Dear lldb dev team,
I am working on running lldb-mi on arm32 device(like rpi) for remote debugging usage.
Is there any way to run lldb-mi with python disabled ?
When building lldb with LLDB_DISABLE_PYTHON, it seems that dataformatter initialization is failed due to the following code in MICmnLLDBDebugger.cpp:59
//++
//------------------------------------------------------------------------------------
// MI summary helper routines
static inline bool MI_add_summary(lldb::SBTypeCategory category,
const char *typeName,
lldb::SBTypeSummary::FormatCallback cb,
uint32_t options, bool regex = false) {
#if defined(LLDB_DISABLE_PYTHON)
return false;
#else
lldb::SBTypeSummary summary =
lldb::SBTypeSummary::CreateWithCallback(cb, options);
return summary.IsValid()
? category.AddTypeSummary(
lldb::SBTypeNameSpecifier(typeName, regex), summary)
: false;
#endif
}
Thank you.
BR,
Chunseok Lee
--
Where Do We come from? What Are We? Where Are We Going?
_______________________________________________
lldb-dev mailing list
lldb-dev at lists.llvm.org<mailto:lldb-dev at lists.llvm.org>
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev
--
- Ilia
--
Where Do We come from? What Are We? Where Are We Going?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20160921/3e7bb133/attachment.html>
More information about the lldb-dev
mailing list