[lldb-dev] connecting lldb to a qemu system-mode session.

Jim Ingham via lldb-dev lldb-dev at lists.llvm.org
Thu Oct 21 12:30:45 PDT 2021


You want the gdb-remote command.  lldb has an apropos command, so for instance:

(lldb) apropos remote
The following commands may relate to 'remote':
  gdb-remote              -- Connect to a process via remote GDB server.  If no
                             host is specifed, localhost is assumed.

etc...

Jim

> On Oct 21, 2021, at 11:45 AM, Sid Manning via lldb-dev <lldb-dev at lists.llvm.org> wrote:
> 
> I’m having a hard time trying to figure out how to get lldb to attach to a qemu system mode session.
>  
> Does lldb support something like: “target remote /tmp/gdb-socket0”?
>  
> Thanks,
>  
> _______________________________________________
> lldb-dev mailing list
> lldb-dev at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev



More information about the lldb-dev mailing list