diff options
author | Paul N. Hilfinger <hilfinger@adacore.com> | 2004-03-20 09:53:03 +0000 |
---|---|---|
committer | Paul N. Hilfinger <hilfinger@adacore.com> | 2004-03-20 09:53:03 +0000 |
commit | b2ba182e8f635d2d97ed07317920422cca90b4e8 (patch) | |
tree | 3fd679500e2a5f9fc286010375cb7c4085f04dc1 /gdb/ChangeLog | |
parent | 44349745f200c496771a6c60de4123a564b19cd0 (diff) | |
download | gdb-b2ba182e8f635d2d97ed07317920422cca90b4e8.zip gdb-b2ba182e8f635d2d97ed07317920422cca90b4e8.tar.gz gdb-b2ba182e8f635d2d97ed07317920422cca90b4e8.tar.bz2 |
print_percentage: Use floating point to avoid incorrect results when
portion*100 overflows.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 442af68..53824f1 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2004-03-20 Paul Hilfinger <hilfingr@nile.gnat.com> + + * bcache.c (print_percentage): Use floating point to avoid + incorrect results when portion*100 overflows. + 2004-03-19 Kevin Buettner <kevinb@redhat.com> * ppc_tdep.h (ppc_linux_frame_saved_pc) |