Wrong tooltip on double values

Sysprogs forums Forums VisualGDB Wrong tooltip on double values

Tagged: 

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #8300
    WalterF
    Participant

    Hi

    I’m testing FPU with double variables on Cortex A7. The local window shows correct values but the tooltip over the variable shows wrong data. See picture.

    [caption id="" align="alignnone" width="874"] Screenshot[/caption]

     

     

    #8301
    WalterF
    Participant

    Adding the picture did not work.

    The Tooltip shows 3.05866665335518889e+154 instead of 28.4375 which is correctly displayed in the local variables window.

     

    #8309
    support
    Keymaster

    Hi,

    Could you please try evaluating the variable via the GDB Session window (“print <variable name>”)? Does this show correct values?

    Perhaps the variable name is confused with something else, like a global variable with the same name of a register? Does the Watch window show correct value?

    #8312
    WalterF
    Participant

    Hi,

    you are right. It depends on the name and it was a conflict with anĀ ARM NEON register name (d2).
    double d2 = 1.125;
    double dV2 = 1.125;
    d2 shows wrong value (interpreted as builtin_type_ieee_double), dV2 ist correct (interpreted as double).

    • This reply was modified 8 years, 5 months ago by WalterF.
    #8319
    support
    Keymaster

    Hi,

    That’s a known issue. VisualGDB automatically substitutes register names to support data tooltips for inline assembly. As a workaround please use the Locals window or rename your variables.

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.