This is the mail archive of the gdb-patches@sources.redhat.com 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: [rfa] move make_symbol_overload_list to cp-support.c


On Wed, Jun 11, 2003 at 05:24:42PM -0700, David Carlton wrote:
> As previously discussed, here's a patch to move
> make_symbol_overload_list and everything associated with it to
> cp-support.c.  It should be pretty obvious, and Daniel and Elena have
> both agreed in principle, so I'll commit this once one of them gives a
> thumbs-up.  (I'm pretty sure I'm not missing anything - I just moved
> code, so it's hard to imagine how anything could have gone wrong.)

Looks good.  I'm not thrilled with externing lookup_partial_symbol but
it'll do for a while.

> David Carlton
> carlton@bactrian.org
> 
> 2003-06-11  David Carlton  <carlton@bactrian.org>
> 
> 	* symtab.h: Delete declaration of make_symbol_overload_list.
> 	Add declaration of lookup_partial_symbol.
> 	* symtab.c (remove_params): Move to cp-support.c.
> 	(overload_list_add_symbol, make_symbol_overload_list)
> 	(sym_return_val_size, sym_return_val_index): Ditto.
> 	 symtab.c (lookup_partial_symbol): Make extern.
> 	* cp-support.h: Add declaration of make_symbol_overload_list.
> 	* cp-support.c: Include dictionary.h, objfiles.h, frame.h,
> 	symtab.h, and block.h.
> 	(remove_params): Move here from symtab.c.
> 	(overload_list_add_symbol, make_symbol_overload_list)
> 	(sym_return_val_size, sym_return_val_index): Ditto.
> 	* valops.c: Include cp-support.h.
> 	* Makefile.in (cp-support.o): Depend on dictionary_h, objfiles_h,
> 	frame_h, and block_h.
> 	(valops.o): Depend on cp_support_h.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


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