This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [rfa] mips heuristic_proc_start fix
- To: Andrew Cagney <ac131313 at cygnus dot com>
- Subject: Re: [rfa] mips heuristic_proc_start fix
- From: Daniel Jacobowitz <dmj+ at andrew dot cmu dot edu>
- Date: Fri, 6 Jul 2001 11:32:32 -0700
- Cc: gdb-patches at sources dot redhat dot com
- References: <20010706112010.A5578@nevyn.them.org> <3B46030B.2010007@cygnus.com>
On Fri, Jul 06, 2001 at 02:27:23PM -0400, Andrew Cagney wrote:
> > This one was fun to track down... I've been getting corrupt PC values off
> > the stack in backtraces, something which needs to be fixed elsewhere. The
> > interesting thing is that the PC I was reading was 0x2. Remember that
> > CORE_ADDR on MIPS is an unsigned 64-bit quantity.
>
>
> You mean ***SIGNED** right?
Glarg. Yes, it's signed, of course! Let me peer at this for a moment
and see why the math was coming out wrong; the patch is correct, but
now it's not quite as obvious to me why :)
--
Daniel Jacobowitz Carnegie Mellon University
MontaVista Software Debian GNU/Linux Developer