From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15664 invoked by alias); 27 May 2002 12:20:12 -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 15652 invoked from network); 27 May 2002 12:20:09 -0000 Received: from unknown (HELO mail.alinoe.com) (24.132.80.10) by sources.redhat.com with SMTP; 27 May 2002 12:20:09 -0000 Received: (qmail 31907 invoked by uid 500); 27 May 2002 12:20:06 -0000 Date: Mon, 27 May 2002 05:20:00 -0000 From: Carlo Wood To: gdb@sources.redhat.com Subject: Is this information correct? Message-ID: <20020527142006.A23953@alinoe.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i X-SW-Source: 2002-05/txt/msg00291.txt.bz2 In the next release of libcwd (http://libcwd.sourceforge.net) I will add the information below. Because this will reach a few hunderd C++ developers, I wanted to check with you if this information is correct in your eyes. Any improvement is welcomed. ------- A core dump produced by a kernel 2.4 does not contain enough information for gdb to debug all threads. Only the core dumping thread is dumped and the other threads continue to run for a while. There exists a kernel patch written by Intel/IBM that fixes this problem; please read http://www.apachelabs.org/lkml/200203.mbox/%3c20020315170726.A3405@in.ibm.com%3e or http://www.uwsg.iu.edu/hypermail/linux/kernel/0203.1/0963.html You are strongly advised to use gdb 5.2 for multithreaded debugging; however, it may be possible that the released gdb 5.2 is not capable of reading the debug information that is used by gcc 3.1, I heard (libcwd needed to be fixed too), the latest CVS version of gdb works though. Be aware that gdb does hardly support namespaces and will therefore frequently not find types or variables in namespaces. It doesn't look like that this will be fixed very soon (2002-05-27). -------- -- Carlo Wood