This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC] Entry point update with "run" command


I've checked this in now. Thanks!

On Fri, 2008-05-02 at 11:43 -0400, Daniel Jacobowitz wrote:
> On Thu, Apr 24, 2008 at 12:58:14PM -0300, Luis Machado wrote:
> > The attached patch does this on "reread_symbols", though it seems a
> > brute-force method. Is this OK?
> 
> This is OK.  Wow, this function is a wreck.  Despite the comments it
> really does need to be updated to share code with initial reading of
> the symfile at some point.
> 

Luis

2008-05-05  Luis Machado  <luisgpm@br.ibm.com>

	* symfile.c (reread_symbols): Update objfile's entry point.

Index: HEAD/gdb/symfile.c
===================================================================
--- HEAD.orig/gdb/symfile.c	2008-05-05 05:27:16.000000000 -0700
+++ HEAD/gdb/symfile.c	2008-05-05 05:31:54.000000000 -0700
@@ -2474,6 +2474,7 @@
 	      objfile->mtime = new_modtime;
 	      reread_one = 1;
               reread_separate_symbols (objfile);
+	      init_entry_point_info (objfile);
 	    }
 	}
     }

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]