Setting a floating point register to raw hex value
Grzegorz Cieslewski
cieslewski@hcs.ufl.edu
Fri Oct 12 15:29:00 GMT 2007
Does any one know of a way to set a floating point register ($f0) to a
arbitrary raw hex value (for example 1)
I tried the following.
(gdb) set $f0 = 5.0000000000000000e-324
(gdb) p $f0
$1 = -1.5966722476277758e+293
(gdb) set $f0 = 5.0000000000000000e-324
The value of 5.0000000000000000e-324 should correspond to
0x0000000000000001 in raw hex
Any ideas?
I am using ppc7450 (G4) if that helps.
More information about the Gdb
mailing list