Hi,

        I add 2 new features to the KDB command line.  I hope you will enjoy
them.

        One is to automatically complete the kernel symbol name string as
long as possible. If a user presses the TAB key after part of the symbol
string, the following string shared by all symbols that start with the same
prefix is appended. If only one symbol start with the given prefix, this
symbol name will be completed. If none prefix is matched, then nothing is
added.

        The other is to list some kernel symbols that start with the given
prefix, if a user double presses the TAB key. The symbol count in the list
is configured by environment DTABCOUNT. Its default value is 30 and can be
configured by the user. If it is set to zero, both of the 2 TAB features are
ignored. 

        I don't know whether my new enhancement to the KDB command line is
helpful to KDB project. Could you please take a look at my patches and give
me some comments.  New changes are mainly in file kernel/kallsyms.c and
arch/i386/kdba_io.c .

        The patches should be apply to pristine kernel 2.4.19 with kdb patch
v2.5-2.4.19. The patches support PS/2 and USB keyboard, but support to the
serial console is not included yet. 

        Thank you very much.

        Sonic Zhang
        20/12/2002


Attachment: kdb-cmdline-v2.5-2.4.19-common-2.ZIP
Description: Binary data

Attachment: kdb-cmdline-v2.5-2.4.19-i386-2.ZIP
Description: Binary data

Reply via email to