aboutsummaryrefslogtreecommitdiff
path: root/gdb/jit.c
diff options
context:
space:
mode:
authorAli Tamur <tamur@google.com>2019-08-27 18:58:57 -0700
committerAli Tamur <tamur@google.com>2019-09-11 12:21:50 -0700
commit9cab7ecda21c6499b0559f6e676fe222e26141be (patch)
tree48692643c655d394dfc56b8afa81d738b6821ccf /gdb/jit.c
parent67547d896b0593b0fa62e23ac68c483a7e8566e2 (diff)
downloadgdb-9cab7ecda21c6499b0559f6e676fe222e26141be.zip
gdb-9cab7ecda21c6499b0559f6e676fe222e26141be.tar.gz
gdb-9cab7ecda21c6499b0559f6e676fe222e26141be.tar.bz2
Fix float to LONGEST conversion.
The code used to have undefined behaviour when template parameter is float and host_float is NaN, because it attempted to convert NaN value to LONGEST at the last statement. This frequently caused crashes on tests that checked "info all-registers" (at least when the code is compiled with clang; I didn't test with gdb). gdb/ChangeLog: *target-float.c (host_float_ops<T>::to_longest): Update implementation.
Diffstat (limited to 'gdb/jit.c')
0 files changed, 0 insertions, 0 deletions