This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 2/2] Move registering maint cmd from maint.c to symmisc.c.
>>>>> "Yao" == Yao Qi <yao@codesourcery.com> writes:
Yao> 2012-12-19 Yao Qi <yao@codesourcery.com>
Yao> * maint.c (_initialize_maint_cmds): Move code ...
Yao> * symmisc.c (_initialize_symmisc): ... to here.
Yao> (maintenance_print_msymbols): Make it static.
Yao> (maintenance_print_objfiles): Likewise.
Yao> (maintenance_print_symbols): Likewise.
Yao> (maintenance_info_symtabs): Likewise.
Yao> * symtab.h (maintenance_print_msymbols): Remove declaration.
Yao> (maintenance_print_objfiles, maintenance_print_symbols): Likewise.
Yao> (maintenance_info_symtabs): Likewise.
Ok.
I forgot to mention, the previous patch is ok.
You can make the initialize_file_ftype change if you want.
I don't think it matters very much either way.
Tom