From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27281 invoked by alias); 14 Feb 2004 15:48:09 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 27274 invoked from network); 14 Feb 2004 15:48:08 -0000 Received: from unknown (HELO localhost.redhat.com) (66.30.197.194) by sources.redhat.com with SMTP; 14 Feb 2004 15:48:08 -0000 Received: by localhost.redhat.com (Postfix, from userid 469) id 7EAE01A448A; Sat, 14 Feb 2004 10:44:01 -0500 (EST) From: Elena Zannoni MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16430.16961.241310.260616@localhost.redhat.com> Date: Sat, 14 Feb 2004 15:48:00 -0000 To: gdb-patches@sources.redhat.com Subject: Re: [PATCH] move entry_point stuff to objfiles.c In-Reply-To: <16429.20684.591874.642280@localhost.redhat.com> References: <16429.20684.591874.642280@localhost.redhat.com> X-SW-Source: 2004-02/txt/msg00365.txt.bz2 Elena Zannoni writes: > > I got carried away, I really didn't like the entry_point stuff being > in symfile.c. It is manipulating stuff in objfiles, so I moved it. > > Given that today is Friday the 13th, it seem perfectly in line that I > had also to cleanup the includes. Lots of includes are no longer > needed. Note that I didn't remove the includes in xcoffread.c and > solib-irix.c because the gdb_mbuild.sh script doesn't get to compile > these files, so I just added a comment. > > I'll check in tomorrow-ish. > elena > committed. > 2004-02-13 Elena Zannoni > > * symfile.c (init_entry_point_info, enrty_point_address): Move > from here... > * objfiles.c (init_entry_point_info, entry_point_address):..to > here. > * symfile.h (init_entry_point_info, enrty_point_address): Remove > prototypes. > * objfiles.h (init_entry_point_info, entry_point_address):Add > prototypes. > * cris-tdep.c: Remove include of symfile.h. Add include of > objfiles.h. > * infcall.c: Ditto. > * mcore-tdep.c: Ditto. > * mn10300-tdep.c: Ditto. > * sh64-tdep.c: Ditto. > * v850-tdep.c: Ditto. > * arm-tdep.c: Remove include of symfile.h. > * blockframe.c: Ditto. > * coffread.c: Ditto. > * dbxread.c: Ditto. > * dwarf2read.c: Ditto. > * dwarfread.c: Ditto. > * frv-tdep.c: Ditto. > * ia64-tdep.c: Ditto. > * mdebugread.c: Ditto. > * mipsread.c: Ditto. > * rs6000-tdep.c: Ditto. > * s390-tdep.c: Ditto. > * sh-tdep.c: Ditto. > * xstormy16-tdep.c: Ditto. > * gdbarch.sh: Remove include of symfile.h. > * gdbarch.c: Regenerate. > * solib-irix.c (enable_break): Use entry_point_address(). > Add comment about include file. > * xcoffread.c: Add comment about include file. > * Makefile.in (arm-tdep.o, blockframe.o, coffread.o, cris-tdep.o) > (dbxread.o, dwarf2read.o, dwarfread.o, frv-tdep.o, gdbarch.o) > (ia64-tdep.o, infcall.o, mcore-tdep.o, mdebugread.o, mipsread.o) > (mn10300-tdep.o, rs6000-nat.o, s390-tdep.o, sh64-tdep.o) > (sh-tdep.o, v850-tdep.o, xstormy16-tdep.o): Update dependencies. >