aboutsummaryrefslogtreecommitdiff
path: root/gdb/ChangeLog
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2017-10-19 15:25:59 +0100
committerPedro Alves <palves@redhat.com>2017-10-19 15:25:59 +0100
commit2edf834e298b15c882678db22e86745f701807fa (patch)
tree313e311b94f78d0c0044cc682bf4eab2b45ed169 /gdb/ChangeLog
parent280958942b74f3164708700f195188c4d3446f58 (diff)
downloadgdb-2edf834e298b15c882678db22e86745f701807fa.zip
gdb-2edf834e298b15c882678db22e86745f701807fa.tar.gz
gdb-2edf834e298b15c882678db22e86745f701807fa.tar.bz2
xml_fetch_content_from_file: Read in whole file in one go
There doesn't seem to be a good reason we're reading the file one chunk at a time. gdb/ChangeLog: 2017-10-19 Pedro Alves <palves@redhat.com> * xml-support.c (xml_fetch_content_from_file): Don't read in chunks. Instead use fseek to determine the file's size, and read it in one go.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r--gdb/ChangeLog6
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index bbb0aab..9e7c342 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,9 @@
+2017-10-19 Pedro Alves <palves@redhat.com>
+
+ * xml-support.c (xml_fetch_content_from_file): Don't read in
+ chunks. Instead use fseek to determine the file's size, and read
+ it in one go.
+
2017-11-18 Keith Seitz <keiths@redhat.com>
* c-exp.y (oper): Canonicalize conversion operators of user-defined