Forums - HVX vectors not displayed correctly with LLDB debugger and Hexagon simulator

1 post / 0 new
HVX vectors not displayed correctly with LLDB debugger and Hexagon simulator
philippe.dufour
Join Date: 4 Apr 19
Posts: 1
Posted: Tue, 2019-05-14 06:45

Dear all,

We are implementing an algorythm in assembly on the Hexagon cDsp. We are trying to debug our algorythm with the Hexagon Simulator and Hexagon LLDB debugger.  During the debug session, we are reading the HVX vectors. The vector content is incorrect and always the same.

This is not a compilation issue because the result is fine: filling a vector with a given value then writting the vector in the aligned memory is ok. you can read back the memory content: this is correct. It looks like to be a debugging issue.

Please note that register contents are correct, status register as well.

Any idea how to read the HVX vectors during the debugging session?

(Same issue with Eclipse, which is expected because Eclipe uses Hexagon LLDB)

* Hexagon simulator version:

   Version: 8.3.02, API Version 3.33.20190117
   Copyright 2005-2019 Qualcomm, Inc. All Rights Reserved.

* Hexagon LLDB version:

   lldb version 7.0.0
       clang revision 487f97b72797709a42302239a23132909e204010
        llvm revision 0db789eea2191aed60b7a23a88307e75c81c2164

 Regards,

Philippe D.

 

 

 

  • Up0
  • Down0

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.