From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7272 invoked by alias); 30 Jun 2008 15:58:11 -0000 Received: (qmail 7264 invoked by uid 22791); 30 Jun 2008 15:58:10 -0000 X-Spam-Check-By: sourceware.org Received: from f83.mail.ru (HELO f83.mail.ru) (194.67.57.158) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 30 Jun 2008 15:56:59 +0000 Received: from mail by f83.mail.ru with local id 1KDLkO-000Pla-00 for gdb@sourceware.org; Mon, 30 Jun 2008 19:56:56 +0400 Received: from [212.92.145.7] by win.mail.ru with HTTP; Mon, 30 Jun 2008 19:56:56 +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, 30 Jun 2008 15:58:00 -0000 References: In-Reply-To: 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-06/txt/msg00321.txt.bz2 Hi, I've upgraded to gdb-6.8.50.20080630 and tested it. Unfortunately, I was totally unable to run my test case from Eclipse CDT. I've figured out that the problem is what GDB resonds to exec-run command. Here is the Eclipse session log (it shows requests to GDB and responses) 84-exec-run 84^error,msg="Don't know how to run. Try \"help target\"." I've tried older version of arm-elf-gdb (6.5): 123-exec-run 123^running &"Don't know how to run. Try \"help target\".\n" Don't know how to run. Try "help target". 123^error,msg="Don't know how to run. Try \"help target\"." It seems that responses differs in 123^running (or maybe the order too?). Is it possible to fix this? Dmitry -----Original Message----- From: Dmitry Smirnov To: Pedro Alves Date: Thu, 26 Jun 2008 18:32:46 +0400 Subject: Re: How to catch GDB crash > > Ok, you'd convinced me :-) > You are right, the last resume() is executed with stepping_over_breakpoint equal to 1 whereas previously it was 0. > > I'll try your patch (I can find it in gdb-patches, right?). > > Dmitry > > -----Original Message----- > From: Pedro Alves > To: gdb@sourceware.org, Dmitry Smirnov > Date: Thu, 26 Jun 2008 15:20:54 +0100 > Subject: Re: How to catch GDB crash > > > > > A Thursday 26 June 2008 14:56:26, Dmitry Smirnov wrote: > > > I still have some doubts :-) > > > > > > > Well, the doubts would go away if you tried the patches. :-) > >