Set uses_fp for frames with a valid FP register explicitly.
authorJohn Baldwin <jhb@FreeBSD.org>
Sat, 11 Jun 2016 14:43:46 +0000 (07:43 -0700)
committerJohn Baldwin <jhb@FreeBSD.org>
Wed, 6 Jul 2016 13:08:43 +0000 (06:08 -0700)
commit9ca107148e888a7f7aaf3582569708684bd04690
treedaeb1ac2f666b72c923378c1d49a7673ff38d1a0
parentd66ff635bec25bf940cc6d173a92f7796f18b310
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.
gdb/ChangeLog
gdb/sh64-tdep.c