This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: RFA: Split linespec from symtab
- To: Fernando Nasser <fnasser at cygnus dot com>
- Subject: Re: RFA: Split linespec from symtab
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Sat, 11 Nov 2000 15:44:06 +1100
- Cc: gdb-patches at sources dot redhat dot com,Elena Zannoni <ezannoni at cygnus dot com>,Andrew Cagney <cagney at cygnus dot com>
- References: <3A0C1B21.A3FAD4D5@cygnus.com>
> Here is the ChangeLog:
>
> * symtab.c (decode_line_1, total_number_of_methods, find_methods,
> build_command_line_spec, find_toplevel_char, decode_line_2):
> Move to linespec.c.
> * linespec.c: New file. Routines that handle linespecs, formerly
> in symtab.c.
> * symtab.h: Export find_line_symtab and find_function_start_sal,
> * Makefile.in: Add linespec.c.
>
Fernando,
Do you intend moving the declarations for the functions exported by
linespec.c to a new linespec.h file?
As for how to format the ChangeLog, have a look at other earlier but
similar moves (is that a stray comma?). The Makefile.in entry should
mention the makefile variable(s) being updated. I suspect that you
added linespec.o somewhere.
I'll update MAINTAINERS to reflect the creation of the new file.
Andrew