From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30745 invoked by alias); 31 Dec 2007 14:48:02 -0000 Received: (qmail 30725 invoked by uid 71); 31 Dec 2007 14:48:02 -0000 Date: Mon, 31 Dec 2007 14:48:00 -0000 Message-ID: <20071231144802.30722.qmail@sourceware.org> To: nobody@sources.redhat.com Cc: gdb-prs@sources.redhat.com, From: Daniel Jacobowitz Subject: Re: threads/2395: "info stack" works, but "stack-info-depth" fails Reply-To: Daniel Jacobowitz Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-prs-owner@sourceware.org X-SW-Source: 2007-q4/txt/msg00168.txt.bz2 The following reply was made to PR threads/2395; it has been noted by GNATS. From: Daniel Jacobowitz To: 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 09:44:10 -0500 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=86676 790-stack-info-depth &"Cannot access memory at address 0xdeadbeeb\n" 790^error,msg="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="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:397\n" #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 792^done (gdb) Probably -stack-info-depth should report the number of successful frames found. -- Daniel Jacobowitz CodeSourcery