• Randy Dunlap's avatar
    kdb: drop newline in unknown command output · b0f73bc7
    Randy Dunlap authored
    When an unknown command is entered, kdb prints "Unknown kdb command:"
    and then the unknown text, including the newline character. This
    causes the ending single-quote mark to be printed on the next line
    by itself, so just change the ending newline character to a null
    character (end of string) so that it won't be "printed."
    Signed-off-by: default avatarRandy Dunlap <rdunlap@infradead.org>
    Cc: Daniel Thompson <daniel.thompson@linaro.org>
    Cc: Jason Wessel <jason.wessel@windriver.com>
    Cc: kgdb-bugreport@lists.sourceforge.net
    Signed-off-by: default avatarJason Wessel <jason.wessel@windriver.com>
    b0f73bc7
kdb_main.c 69.9 KB