[RFC] m32r-tdep.c: Fix sign extension problem during prologue analysis
Daniel Jacobowitz
drow@false.org
Thu Oct 11 07:26:00 GMT 2007
On Wed, Oct 10, 2007 at 05:02:52PM -0700, Kevin Buettner wrote:
> I recently learned that there were far too many testsuite failures for
> the m32r-elf target. I found that backtraces (among other things)
> were badly broken and traced the problem to a lack of sign extension
> for a particular instruction pattern during prologue analysis.
>
> Comments? (Is there a better way to do the sign extension?)
That seems right to me. You could be more explicit about it, but
there's no point if you assume that char is eight bits anyway.
--
Daniel Jacobowitz
CodeSourcery
More information about the Gdb-patches
mailing list