From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20007 invoked by alias); 21 Apr 2005 00:48:08 -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 19990 invoked from network); 21 Apr 2005 00:48:04 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sourceware.org with SMTP; 21 Apr 2005 00:48:04 -0000 Received: from drow by nevyn.them.org with local (Exim 4.50 #1 (Debian)) id 1DOPrP-0001Jf-Mp; Wed, 20 Apr 2005 20:48:03 -0400 Date: Thu, 21 Apr 2005 00:48:00 -0000 From: Daniel Jacobowitz To: Shaun Jackman , gdb@sources.redhat.com Subject: Re: Reload executable from disk Message-ID: <20050421004803.GB4971@nevyn.them.org> Mail-Followup-To: Shaun Jackman , gdb@sources.redhat.com References: <7f45d93905042016485e49f89b@mail.gmail.com> <20050421001845.GA2324@white> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050421001845.GA2324@white> User-Agent: Mutt/1.5.8i X-SW-Source: 2005-04/txt/msg00137.txt.bz2 On Wed, Apr 20, 2005 at 08:18:45PM -0400, Bob Rossi wrote: > 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? We check this in a lot of places, but it's possible that "load" is not one of them. Maybe it ought to be. -- Daniel Jacobowitz CodeSourcery, LLC