This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
Re: threads/2395: "info stack" works, but "stack-info-depth" fails
- From: Daniel Jacobowitz <drow at false dot org>
- To: nobody at sources dot redhat dot com
- Cc: gdb-prs at sources dot redhat dot com,
- Date: 31 Dec 2007 16:48:02 -0000
- Subject: Re: threads/2395: "info stack" works, but "stack-info-depth" fails
- Reply-to: Daniel Jacobowitz <drow at false dot org>
The following reply was made to PR threads/2395; it has been noted by GNATS.
From: Daniel Jacobowitz <drow@false.org>
To: =?iso-8859-1?Q?=D8yvind?= Harboe <oyvind.harboe@zylin.com>
Cc: gdb-gnats@sources.redhat.com
Subject: Re: threads/2395: "info stack" works, but "stack-info-depth" fails
Date: Mon, 31 Dec 2007 11:44:27 -0500
On Mon, Dec 31, 2007 at 05:39:30PM +0100, Øyvind Harboe wrote:
> > #1 0x000088d0 in Cyg_Thread::exit () at
> > /ecos-c/cygwin/tmp/ecosboard/ecos/install/include/cyg/kernel/sched.hxx:397
> > &"Cannot access memory at address 0xdeadbeeb\n"
> > Cannot access memory at address 0xdeadbeeb
> I don't see it. The above trace should be complete...
GDB does not see any end-of-stack indication below Cyg_Thread::exit
so it is trying to continue the backtrace. It hits an unavailable
portion of the stack.
--
Daniel Jacobowitz
CodeSourcery