aboutsummaryrefslogtreecommitdiff
path: root/gdb/ser-base.c
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/ser-base.c
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/ser-base.c')
0 files changed, 0 insertions, 0 deletions