diff options
author | John Baldwin <jhb@FreeBSD.org> | 2016-06-11 07:43:46 -0700 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2016-07-06 06:08:43 -0700 |
commit | 9ca107148e888a7f7aaf3582569708684bd04690 (patch) | |
tree | daeb1ac2f666b72c923378c1d49a7673ff38d1a0 /gdb/d-lang.c | |
parent | d66ff635bec25bf940cc6d173a92f7796f18b310 (diff) | |
download | gdb-9ca107148e888a7f7aaf3582569708684bd04690.zip gdb-9ca107148e888a7f7aaf3582569708684bd04690.tar.gz gdb-9ca107148e888a7f7aaf3582569708684bd04690.tar.bz2 |
Set uses_fp for frames with a valid FP register explicitly.
Since CORE_ADDR is unsigned, the saved FP register is always greater than
or equal to zero. Replace the comparison by explicitly setting uses_fp to
1 for frames with a valid FP register.
gdb/ChangeLog:
* sh64-tdep.c (sh64_analyze_prologue): Set "uses_fp" when setting
the MEDIA_FP_REGNUM register.
Diffstat (limited to 'gdb/d-lang.c')
0 files changed, 0 insertions, 0 deletions