[patch] Check CLI_SRC and MI_SRC for _initialize_*()

Andrew Cagney ac131313@cygnus.com
Sat Feb 9 10:02:00 GMT 2002


Hello,

The attached patch tweaks the Makefile so that, when included in a 
build, the SUBDIR_CLI_SRCS and SUBDIR_MI_SRCS are checked for 
_initialize_*() functions.

Previously only certain explicit files were checked.  I'm doing this 
because I just spent an hour wondering why an _initialize*() function I 
was adding to the CLI directory didn't get called.  I figure checking 
all CLI/MI files is more robust.

Would insight like me to make the same change?

Andrew
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: diffs
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20020209/97f733d5/attachment.ksh>


More information about the Gdb-patches mailing list