> 2010-01-01 Jan Kratochvil > > * cli/cli-script.c (process_next_line): Check P2 overrun. Yes - I agree it's obvious when you know that the comment is stripped upstream... Approved. Thanks for fixing. Given the number of regressions/failures we've seen in this area, I really thought we should add a test for this, so I created the attached patch. I will commit after you have committed yours. gdb/testsuite/ Test indented comment in file being sourced. * commands.exp: Test indented comment in file being sourced. Tested on x86_64-linux. Fails miserably without Jan's patch. -- Joel