Bug #9009 2006-10-04 14:56

ghorwin

Invalid debugger output for 'decimal' numbers

When selecting 'Decimal' in the Add/Edit Watch dialog, the result should be something like '12.35', but instead it gives the value typecasted to an integer.

I assume the /f flag is not correctly passed to gdb.

Category
Debugger
Group
 
Status
Closed
Close date
2006-12-20 09:42
Assigned to
 
killerbot 2006-10-06 14:47

Hi,

I have applied your patch. That patch is for floats (/f).

In here you are talking about decimal and /f ??

Could you elaborate, and might your patch already have fixed this issue ?

thomasdenk 2006-12-20 09:42

It is just as it should be:

decimal = base-10 integer value, as opposed to

hexadecimal = base-16 integer value

What you want is: floatint point