From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5294 invoked by alias); 7 Jul 2008 15:47:49 -0000 Received: (qmail 5284 invoked by uid 22791); 7 Jul 2008 15:47:49 -0000 X-Spam-Check-By: sourceware.org Received: from f124.mail.ru (HELO f124.mail.ru) (194.67.57.246) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 07 Jul 2008 15:47:29 +0000 Received: from mail by f124.mail.ru with local id 1KFsw2-000BIb-00 for gdb@sourceware.org; Mon, 07 Jul 2008 19:47:26 +0400 Received: from [212.92.145.7] by win.mail.ru with HTTP; Mon, 07 Jul 2008 19:47:26 +0400 From: Dmitry Smirnov To: gdb@sourceware.org Subject: =?koi8-r?Q?Re=3A_How_to_catch_GDB_crash?= Mime-Version: 1.0 X-Mailer: mPOP Web-Mail 2.19 Date: Mon, 07 Jul 2008 15:47:00 -0000 References: <200807071528.57718.pedro@codesourcery.com> In-Reply-To: <200807071528.57718.pedro@codesourcery.com> Reply-To: Dmitry Smirnov Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 8bit Message-Id: X-Spam: Not detected X-Mras: OK X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2008-07/txt/msg00041.txt.bz2 -----Original Message----- From: Pedro Alves To: gdb@sourceware.org, Dmitry Smirnov Date: Mon, 7 Jul 2008 15:28:57 +0100 Subject: Re: How to catch GDB crash > I think you said earlier that when you switched to the other eclipse you > had around that got over the "^running" problem, you weren't even able > to inspect the stack or do any disassembling -- eclipse would get > stuck on the "info threads" command. I take it that since you > report you can now retrieve variables etc, that the "info threads" > issue is fixed? I'll post this patch for review at gdb-patches@. Perhaps, "info threads" is fixed. But since both "info threads" and "running" problems were [most probably] caused by the "main thread registering" fix, maybe it is better to investigate "^running" problem before submission? What if they are connected? ;-) I have to say, that my goal is not just report issues, I would like to help fixing them. Unfortunately, I do not have much time to learn GDB, so I'm just asking for hints: what can I do to discover the root cause. For example, who is responding "^running"? What functions/files should I debug to figure out the problem? Dmitry