[patch, nios2] Fix bug in nios2 prologue analysis.

Sandra Loosemore sandra@codesourcery.com
Thu Aug 15 20:41:00 GMT 2019

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?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: nios2-prologue-analyzer.patch
Type: text/x-patch
Size: 2093 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20190815/758d28f7/attachment.bin>

More information about the Gdb-patches mailing list