From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29110 invoked by alias); 21 Apr 2005 00:19:21 -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 28944 invoked from network); 21 Apr 2005 00:18:46 -0000 Received: from unknown (HELO lakermmtao06.cox.net) (68.230.240.33) by sourceware.org with SMTP; 21 Apr 2005 00:18:46 -0000 Received: from white ([68.9.64.121]) by lakermmtao06.cox.net (InterMail vM.6.01.04.00 201-2131-118-20041027) with ESMTP id <20050421001844.EFOF21504.lakermmtao06.cox.net@white>; Wed, 20 Apr 2005 20:18:44 -0400 Received: from bob by white with local (Exim 3.35 #1 (Debian)) id 1DOPP3-0000bf-00; Wed, 20 Apr 2005 20:18:45 -0400 Date: Thu, 21 Apr 2005 00:19:00 -0000 From: Bob Rossi To: Shaun Jackman Cc: gdb@sources.redhat.com Subject: Re: Reload executable from disk Message-ID: <20050421001845.GA2324@white> Mail-Followup-To: Shaun Jackman , gdb@sources.redhat.com References: <7f45d93905042016485e49f89b@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7f45d93905042016485e49f89b@mail.gmail.com> User-Agent: Mutt/1.3.28i X-SW-Source: 2005-04/txt/msg00135.txt.bz2 On Wed, Apr 20, 2005 at 04:48:16PM -0700, Shaun Jackman wrote: > Is there an option to have gdb reload the executable specified with > 'file' from disk if its time stamp has changed upon a 'load' command? I could be wrong, but if you rerun a program that you recompiled, I think GDB is smart enough to use the new program, not the old one. Is this what you want to know? Bob Rossi