Re: [lldb-dev] GetSymbolContext(lldb.eSymbolContextEverything)

2016-06-21 Thread Greg Clayton via lldb-dev
We currently don't expose this information through the API, though we could. You could add a new method to SBValue: namespace lldb { class SBValue { SBData GetDWARFLocation(); } }; This could return the DWARF location as a SBData object. Then you could consume the data by parsing the

Re: [lldb-dev] GetSymbolContext(lldb.eSymbolContextEverything)

2016-06-20 Thread Greg Clayton via lldb-dev
The variables are available through the frame in your symbol context. You have a line of code commented out in your script: #variable = frame.GetVariables(target,True,True,True) Change it to: get_arguments = True # Get argument variables get_locals = True # Get local

[lldb-dev] GetSymbolContext(lldb.eSymbolContextEverything)

2016-06-18 Thread Kamenee Arumugam via lldb-dev
Hi, I am trying program using Lldb Python API to get an output exactly same when I run this command "image lookup --address 0x000405a6 --verbose". But when I print return value of GetSymbolContext(lldb.eSymbolContextEverything), it doesnt contain the decoding of local variables which the