[lldb-dev] Getting lldb tests working on Hexagon

Ted Woodward via lldb-dev lldb-dev at lists.llvm.org
Wed Jan 20 10:31:38 PST 2016


A Hexagon debug session connects to the Hexagon simulator. lldb launches hexagon-sim in the same way it launches lldb-server or debugserver.

When a Hexagon target is loaded, lldb automatically selects the hexagon platform.

So, no special settings - target create, set a breakpoint, run.

--
Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project

-----Original Message-----
From: Pavel Labath [mailto:labath at google.com] 
Sent: Wednesday, January 20, 2016 12:07 PM
To: Ted Woodward
Cc: LLDB
Subject: Re: [lldb-dev] Getting lldb tests working on Hexagon

What is the sequence of lldb commands you use to innitiate a hexagon debug session normally? Do you need to set a custom platform (platform select XXX)? If so, then you need to look into --platform-name (and possibly --platform-url, --platform-working-dir) parameter, and possibly add some support there?

On 20 January 2016 at 17:48, Ted Woodward via lldb-dev <lldb-dev at lists.llvm.org> wrote:
> I’m trying to get the lldb tests running using lldb built with Hexagon 
> support. Some tests are running correctly, but others are 
> failing/skipped etc.
>
>
>
> First, I’d like to get it to skip tests that shouldn’t be run. For 
> example, I see output that looks like this:
>
> Configuration: arch=x86_64
> compiler=/prj/dsp/qdsp6/release/internal/branch-8.0/linux64/latest/Too
> ls/bin/hexagon-clang
>
>
>
> Or
>
>
>
> Config=x86_64-/prj/dsp/qdsp6/release/internal/branch-8.0/linux64/lates
> t/Tools/bin/hexagon-clang
>
>
>
> Those are clearly incorrect.
>
>
>
> My dotest line is:
>
> python dotest.py -C
> /prj/dsp/qdsp6/release/internal/branch-8.0/linux64/latest/Tools/bin/he
> xagon-clang --executable /local/mnt/workspace/ted/8.0/build/bin/lldb
>
>
>
> How does the –A flag affect the Configuration/Config outputs above?
>
>
>
> Ted
>
>
>
> --
>
> 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 lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev
>



More information about the lldb-dev mailing list