This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch, nios2] Fix bug in nios2 prologue analysis.
- From: Kevin Buettner <kevinb at redhat dot com>
- To: gdb-patches at sourceware dot org
- Cc: Sandra Loosemore <sandra at codesourcery dot com>
- Date: Thu, 22 Aug 2019 21:29:02 -0700
- Subject: Re: [patch, nios2] Fix bug in nios2 prologue analysis.
- References: <bbe0ebc4-9924-1dd5-3976-42f41039a5d7@codesourcery.com>
On Thu, 15 Aug 2019 14:41:43 -0600
Sandra Loosemore <sandra@codesourcery.com> wrote:
> This patch fixes a bug in the nios2 prologue analyzer that was causing
> failures in a couple of test cases. The bug has been there forever, but
> this code isn't terribly well exercised by the testsuite since the nios2
> backend normally uses the dwarf2 unwinder.
>
> I realize the nios2 backend has a more general problem with using int or
> unsigned int to represent target word-sized values when it really ought
> to be using int32_t or uint32_t. I think that is a different issue than
> the signedness bug, though. So, OK to check this in?
Okay.
Kevin