From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12629 invoked by alias); 4 Mar 2011 21:32:55 -0000 Received: (qmail 12619 invoked by uid 22791); 4 Mar 2011 21:32:54 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 04 Mar 2011 21:32:50 +0000 Received: (qmail 1821 invoked from network); 4 Mar 2011 21:32:48 -0000 Received: from unknown (HELO scottsdale.localnet) (pedro@127.0.0.2) by mail.codesourcery.com with ESMTPA; 4 Mar 2011 21:32:48 -0000 From: Pedro Alves To: Marc Khouzam Subject: Re: [patch] [gdbserver] Do not crash on file load without inferior Date: Fri, 04 Mar 2011 21:32:00 -0000 User-Agent: KMail/1.13.5 (Linux/2.6.35-27-generic; KDE/4.6.0; x86_64; ; ) Cc: "'gdb-patches@sourceware.org'" , "'Jan Kratochvil'" References: <20110224114001.GA24673@host1.dyn.jankratochvil.net> <201102241242.49342.pedro@codesourcery.com> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201103042132.52768.pedro@codesourcery.com> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2011-03/txt/msg00329.txt.bz2 On Friday 04 March 2011 21:24:51, Marc Khouzam wrote: > That sounds pretty bad. > > Any chance of getting a fix for this in the 7_2 branch? > Which I gather would fix the problem Jan originally reported. > Having to specify the 'file' before connecting to the target > is a regression from previous versions of GDB and I was hoping > not to have to special-case it in Eclipse :-) Indeed. I'll try getting to it soon if Jan doesn't. It should be a one liner patch to gdb. -- Pedro Alves