Ignore whitespace around warings.
commit859ca982e2fbe6dbc60c47d0b11796585444421e
authorCharles Samuels <charles@cariden.com>
Mon, 19 Dec 2011 18:33:21 +0000 (19 10:33 -0800)
committerJohannes Sixt <j6t@kdbg.org>
Mon, 19 Dec 2011 19:53:35 +0000 (19 20:53 +0100)
tree41cfd52571b3ae9365dba17fc897dc06066dcbe4
parent7467c4a1c9654b93ba58bab6de2a52a0d38aea8e
Ignore whitespace around warings.

Sometimes when printing variables, gdb says "warning: ..." twice and inserts
whitespace after the warning. Handle this.

For example:

(kdbg)print fn->asString()
warning: (Internal error: pc 0x8059d60 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x8059d60 in read in psymtab, but not in symtab.)

$3 = { (... etc)
kdbg/gdbdriver.cpp