This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA] xstormy16-tdep.c: Initialize temporary frame cache in xstormy16_skip_prologue()
- From: Corinna Vinschen <vinschen at redhat dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Wed, 15 Dec 2004 10:22:38 +0100
- Subject: Re: [RFA] xstormy16-tdep.c: Initialize temporary frame cache in xstormy16_skip_prologue()
- References: <20041214130026.7536057c@ironwood.lan>
- Reply-to: gdb-patches at sources dot redhat dot com
On Dec 14 13:00, Kevin Buettner wrote:
> [Corinna requested that I resend this patch...]
>
> The patch below clears the frame cache for the call to
> xstormy16_analyze_prologue(). If this initialization is not
> performed, then the ``if (!cache.uses_fp)'' test following the call in
> question will reference an uninitialized value.
>
> Okay?
>
> * xstormy16-tdep.c (xstormy16_skip_prologue): Clear/initialize the
> frame cache.
Sure! Please apply.
Thanks,
Corinna