From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2093 invoked by alias); 19 Jul 2004 20:01:03 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 2086 invoked from network); 19 Jul 2004 20:01:02 -0000 Received: from unknown (HELO aragorn.inter.net.il) (192.114.186.23) by sourceware.org with SMTP; 19 Jul 2004 20:01:02 -0000 Received: from zaretski (pns03-195-136.inter.net.il [80.230.195.136]) by aragorn.inter.net.il (MOS 3.4.6-GR) with ESMTP id DVH01032; Mon, 19 Jul 2004 21:52:31 +0300 (IDT) Date: Mon, 19 Jul 2004 21:01:00 -0000 From: "Eli Zaretskii" To: Andrew Cagney Message-Id: <1659-Mon19Jul2004215127+0300-eliz@gnu.org> CC: gdb@sources.redhat.com In-reply-to: <40FB3F1F.3040900@gnu.org> (message from Andrew Cagney on Sun, 18 Jul 2004 23:25:19 -0400) Subject: Re: [6.2] PROBLEMS file Reply-to: Eli Zaretskii References: <40FB3F1F.3040900@gnu.org> X-SW-Source: 2004-07/txt/msg00248.txt.bz2 > Date: Sun, 18 Jul 2004 23:25:19 -0400 > From: Andrew Cagney > > gdb/1505: [regression] gdb prints a bad backtrace for a thread > > When backtracing a thread, gdb does not stop when it reaches the > outermost frame, instead continuing until it hits garbage. This is > sensitive to the operating system and thread library. FWIW, I've seen similar problems without any threading, in the DJGPP port (when debugging Emacs). GDB 5.x doesn't have problems with the same debuggee. I originally thought that it is specific to DJGPP (perhaps because the DJGPP port of Emacs is compiled with -gcoff and the line number table overflows the 64K limit inherent to COFF debug info), but now that I see this PR, I begin to think that it's not DJGPP-specific. Unfortunately, I didn't have enough time to debug this (one or two attempts to find the reason didn't succeed, as I got bogged down in the maze of frame-related function calls that jump back and forth between platform-independent and target-specific code).