Thanks a lot Greg for your input. I have tried the 2nd option to parse the
out of image lookup command and it works perfectly fine for me.
Regards,
Kamenee
On Tue, Jun 21, 2016 at 2:21 PM, Greg Clayton wrote:
> We currently don't expose this information through the API, though we
> could. You
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
Hi Greg,
Thanks for your reply. I did try the method you mention above but
variable.GetLocation() only provide me the memory address of the variable.
What exactly I am looking for was the register offset that stores variable
i here. Example, I am looking for method able to output the one highligh
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 variabl