MIPS stack tracing

Daniel Jacobowitz drow@mvista.com
Sat Feb 2 14:45:00 GMT 2002


On Sat, Feb 02, 2002 at 03:13:51PM -0500, Don Bowman wrote:
> 
> Stan Shebs wrote:
> 
> > Don Bowman wrote:
> > > 
> > > I've been debugging through gdb for a day or so now, I think
> > > I'm on to something. It appears that find_proc_desc is switching
> > > to the heuristic approach even though I have a symbol table.
> > 
> > That's a bug for sure.  The heuristic approach is only supposed
> > to be used for tracing through frames with no debug info.
> > 
> > Stan
> > 
> 
> Can you confirm that if there is no .stabs, but symbols are present,
> that it shouldn't use the heuristic approach?
> 
> It appears that if all my objects are built with at least -g1 
> then it works.

Most of what it needs should be in .pdr, which is available regardless
of -g.  I don't believe heuristics should be necessary in that case. 
The logic is a bit twisted, though...

-- 
Daniel Jacobowitz                           Carnegie Mellon University
MontaVista Software                         Debian GNU/Linux Developer



More information about the Gdb mailing list