Actions

icon Post
text/html Subscribe
text/html Unsubscribe

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [arm-gnu] doubles display way off in gdb/insight


  • To: Gene Smith <gds@xxxxxxxxxxxxx>
  • Subject: Re: [arm-gnu] doubles display way off in gdb/insight
  • From: Carlos O'Donell <carlos@xxxxxxxxxxxxxxxx>
  • Date: Mon, 08 Feb 2010 10:56:53 -0500

Gene Smith wrote:
In my program doubles work fine. But when I inspect them in gdb (or insight) they appear wildly off: example: 3.14e0 => 943.3e315. Plain floats are OK. This is with cortex m3. Doubles display fine when debugging with insight with native x86 programs. Anyone else see this and, if so, know a solution?

Given that your program works fine, I would suspect your debug interface to the target.

I don't see this problem. I can view doubles fine when using Sourcery G++ 4.4-92 for ARM EABI (Personal edition), debugging on an LM3S8962 (Cortex-M3) over the built-in ARMUSB interface using the Sourcery G++ Debug Sprite.

Cheers,
Carlos.
--
Carlos O'Donell
CodeSourcery
carlos@xxxxxxxxxxxxxxxx
(650) 331-3385 x716