This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Reload executable from disk
- From: Bob Rossi <bob at brasko dot net>
- To: Shaun Jackman <sjackman at gmail dot com>
- Cc: gdb at sources dot redhat dot com
- Date: Wed, 20 Apr 2005 20:18:45 -0400
- Subject: Re: Reload executable from disk
- References: <7f45d93905042016485e49f89b@mail.gmail.com>
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