This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH v2 2/4] Set uses_fp for frames with a valid FP register explicitly.
- From: Yao Qi <qiyaoltc at gmail dot com>
- To: John Baldwin <jhb at freebsd dot org>
- Cc: "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>
- Date: Wed, 6 Jul 2016 08:55:56 +0100
- Subject: Re: [PATCH v2 2/4] Set uses_fp for frames with a valid FP register explicitly.
- Authentication-results: sourceware.org; auth=none
- References: <20160701174036.90598-1-jhb@FreeBSD.org> <20160701174036.90598-3-jhb@FreeBSD.org>
On Fri, Jul 1, 2016 at 6:40 PM, John Baldwin <jhb@freebsd.org> wrote:
> 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.
Patch is OK.
--
Yao (齐尧)