[lldb-dev] ARM AARCH64 and AARCH32 in the same debugger

Greg Clayton gclayton at apple.com
Mon Jan 12 14:36:51 PST 2015


Yes you can: you can have one target for the 32 bit ARM and one for the 64 bit one. You currently can't have one target (process) be both 32 and 64 bit, but you can do this with two targets. I am guessing you would have one target that is debugging the user space process and one for the 64 bit hypervisor routine which I am assuming is the kernel? 

This is exactly why we developed LLDB with a modular plug-in based architecture.

Greg

> On Jan 12, 2015, at 2:07 PM, Ted Woodward <ted.woodward at codeaurora.org> wrote:
> 
> Here’s a scenario I’m being asked about:
>  
> A CPU is executing in AARCH32. LLDB is talking to a JTAG probe via gdb remote. The user stops the program, and it’s in an Android user space application. Can we single step through it, and then an AARCH64 Hypervisor routine, in the same LLDB instance? What would we need to set up to do this?
>  
> --
> Qualcomm Innovation Center, Inc.
> The Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project
>  
> _______________________________________________
> lldb-dev mailing list
> lldb-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev





More information about the lldb-dev mailing list