This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [rfa] mips heuristic_proc_start fix


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]