]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/top.c
Don't remove #-comments.
authorPhil Muldoon <pmuldoon@redhat.com>
Tue, 3 Jun 2014 07:01:39 +0000 (00:01 -0700)
committerDoug Evans <xdje42@gmail.com>
Tue, 3 Jun 2014 07:01:39 +0000 (00:01 -0700)
commitfb1f94b09a3d12a231f6be8fadf421ab578dc4ba
tree3d1dc0b83f90269d06d5b6b31c2359577d7e65b0
parentded0378278c7bbd5c6049446032b28196a5cfb38
Don't remove #-comments.

When using the multi-line feature, we don't want the gdb CLI to remove
comments from the command list, as this will remove things like
"#define".

* top.c (command_loop): Handle comments here...
(command_line_input): ... not here.
gdb/ChangeLog
gdb/top.c