This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC] m32r-tdep.c: Fix sign extension problem during prologue analysis
- From: Daniel Jacobowitz <drow at false dot org>
- To: Kevin Buettner <kevinb at redhat dot com>
- Cc: gdb-patches at sourceware dot org, sakamoto dot kei at renesas dot com
- Date: Wed, 10 Oct 2007 21:29:50 -0400
- Subject: Re: [RFC] m32r-tdep.c: Fix sign extension problem during prologue analysis
- References: <20071010170252.65259f1a@ironwood.lan>
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