aboutsummaryrefslogtreecommitdiff
path: root/gdb/ChangeLog
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2016-04-12 16:49:29 +0100
committerPedro Alves <palves@redhat.com>2016-04-12 16:50:41 +0100
commitfaa4ebe148cfe83f06d881cfc80d95575d3bf746 (patch)
tree170e75dad6d847eb8ab423f71efdfabf0c0826cc /gdb/ChangeLog
parent3212b858458dc3f2ae73e32fa066dabd56919a13 (diff)
downloadgdb-faa4ebe148cfe83f06d881cfc80d95575d3bf746.zip
gdb-faa4ebe148cfe83f06d881cfc80d95575d3bf746.tar.gz
gdb-faa4ebe148cfe83f06d881cfc80d95575d3bf746.tar.bz2
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.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r--gdb/ChangeLog5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index d6e2fe1..8cc3474 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,10 @@
2016-04-12 Pedro Alves <palves@redhat.com>
+ * top.c (read_command_file): Inline command_loop here.
+ (command_loop): Delete.
+
+2016-04-12 Pedro Alves <palves@redhat.com>
+
* top.c: Include "gdb_select.h".
(gdb_readline_no_editing): Wait for input with gdb_select instead
of blocking in fgetc.