source:
mainline/tools/toolchain-gdb-7.12.1.patch@
223efc0
| Last change on this file since 223efc0 was 223efc0, checked in by , 8 years ago | |
|---|---|
|
|
| File size: 1.0 KB | |
-
gdb/doublest.c
diff -rud gdb-7.12.1-original/gdb/doublest.c gdb-7.12.1/gdb/doublest.c
old new 255 255 256 256 while (mant_bits_left > 0) 257 257 { 258 mant_bits = min (mant_bits_left, 32);258 mant_bits = fmin (mant_bits_left, 32); 259 259 260 260 mant = get_field (ufrom, order, fmt->totalsize, mant_off, mant_bits); 261 261 … … 565 565 mant_zero = 1; 566 566 while (mant_bits_left > 0) 567 567 { 568 mant_bits = min (mant_bits_left, 32);568 mant_bits = fmin (mant_bits_left, 32); 569 569 570 570 mant = get_field (uval, order, fmt->totalsize, mant_off, mant_bits); 571 571 … … 909 909 comment in store_typed_floating for a discussion about 910 910 zeroing out remaining bytes in the target buffer. */ 911 911 memset (to, 0, TYPE_LENGTH (to_type)); 912 memcpy (to, from, min (TYPE_LENGTH (from_type), TYPE_LENGTH (to_type)));912 memcpy (to, from, fmin (TYPE_LENGTH (from_type), TYPE_LENGTH (to_type))); 913 913 } 914 914 else 915 915 {
Note:
See TracBrowser
for help on using the repository browser.
