On Mon, Jun 06, 2005 at 11:32:01PM -0400, Daniel Jacobowitz wrote:
> On Sun, Jun 05, 2005 at 12:15:42PM -0400, Daniel Jacobowitz wrote:
> > This will have nothing to do with threads.  Probably that library is
> > compiled with -fomit-frame-pointer and does not include debugging
> > information; that means that GDB simply can't figure out the stack
> > frame.  The only way to fix this is to build a debug version, in
> > general.
> > 
> > Looking at the disassembly for the function it isn't reasonable to
> > expect GDB to understand what's going on (esp. the use of pushf/popf).
> 
> Oh, something that did not occur to me: that function is probably
> written in assembly.  Assuming that is true, the only way to backtrace
> through it would be to add unwind directives to the assembly source. 
> See the gas manual for more information on how to do this.

Sorry, my mistake.  I failed to notice in your bug report that this was
targeted at powerpc.  This will be fixed in the next upload.

-- 
Daniel Jacobowitz
CodeSourcery, LLC


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to