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: "Øyvind Harboe" <oyvind dot harboe at zylin dot com>
- 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: "Øyvind Harboe" <oyvind dot harboe at zylin dot com>
The following reply was made to PR threads/2395; it has been noted by GNATS.
From: "=?ISO-8859-1?Q?=D8yvind_Harboe?=" <oyvind.harboe@zylin.com>
To: "Daniel Jacobowitz" <drow@false.org>
Cc: gdb-gnats@sources.redhat.com
Subject: Re: threads/2395: "info stack" works, but "stack-info-depth" fails
Date: Mon, 31 Dec 2007 17:39:30 +0100
On Dec 31, 2007 3:44 PM, Daniel Jacobowitz <drow@false.org> wrote:
> On Mon, Dec 31, 2007 at 11:23:41AM -0000, oyvind.harboe@zylin.com wrote:
> > This is better but not fixed in CVS HEAD.
> >
> > See this bug report for details:
> >
> > https://bugs.eclipse.org/bugs/show_bug.cgi?id=3D86676
>
> 790-stack-info-depth
> &"Cannot access memory at address 0xdeadbeeb\n"
> 790^error,msg=3D"Cannot access memory at address 0xdeadbeeb"
> 791-stack-info-depth
> Cannot access memory at address 0xdeadbeeb
> (gdb)
> Cannot access memory at address 0xdeadbeeb
> &"Cannot access memory at address 0xdeadbeeb\n"
> 791^error,msg=3D"Cannot access memory at address 0xdeadbeeb"
> (gdb)
> info stack
> 792-interpreter-exec console "info stack"
> ~"#0 0x00000018 in ?? ()\n"
> #0 0x00000018 in ?? ()
> ~"#1 0x000088d0 in Cyg_Thread::exit () at
> /ecos-c/cygwin/tmp/ecosboard/ecos/install/include/cyg/kernel/sched.hxx:39=
7\n"
> #1 0x000088d0 in Cyg_Thread::exit () at
> /ecos-c/cygwin/tmp/ecosboard/ecos/install/include/cyg/kernel/sched.hxx:39=
7
> &"Cannot access memory at address 0xdeadbeeb\n"
> Cannot access memory at address 0xdeadbeeb
> 792^done
> (gdb)
>
> Probably -stack-info-depth should report the number of successful
> frames found.
I don't see it. The above trace should be complete...
>
> --
> Daniel Jacobowitz
> CodeSourcery
>
--=20
=D8yvind Harboe
http://www.zylin.com - eCos ARM & FPGA developer kit