Inline command_loop in read_command_line
authorPedro Alves <palves@redhat.com>
Tue, 12 Apr 2016 15:49:29 +0000 (16:49 +0100)
committerPedro Alves <palves@redhat.com>
Tue, 12 Apr 2016 15:50:41 +0000 (16:50 +0100)
commitfaa4ebe148cfe83f06d881cfc80d95575d3bf746
tree170e75dad6d847eb8ab423f71efdfabf0c0826cc
parent3212b858458dc3f2ae73e32fa066dabd56919a13
Inline command_loop in read_command_line

read_command_line is the only caller, and here we can assume we're
reading a regular file, not stdin.

gdb/ChangeLog:
2016-04-12  Pedro Alves  <palves@redhat.com>

* top.c (read_command_file): Inline command_loop here.
(command_loop): Delete.
gdb/ChangeLog
gdb/top.c