This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [rfa] move make_symbol_overload_list to cp-support.c
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Wed, 11 Jun 2003 21:29:58 -0400
- Subject: Re: [rfa] move make_symbol_overload_list to cp-support.c
- References: <m3wufsp2gl.fsf@papaya.bactrian.org>
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