aboutsummaryrefslogtreecommitdiff
path: root/gdb/ChangeLog
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2017-06-10 00:53:00 +0100
committerPedro Alves <palves@redhat.com>2017-06-12 17:06:25 +0100
commita81e6d4d261b7471428408f4ebba1b8113c16ccf (patch)
treee4bde487e60b73158bad804a8f4cf7e625edaa01 /gdb/ChangeLog
parent6fd931f2d66af8398b2fae3ab5f5afe091b8362f (diff)
downloadgdb-a81e6d4d261b7471428408f4ebba1b8113c16ccf.zip
gdb-a81e6d4d261b7471428408f4ebba1b8113c16ccf.tar.gz
gdb-a81e6d4d261b7471428408f4ebba1b8113c16ccf.tar.bz2
Code cleanup: dwarf2read.c: Eliminate ::file_write
There's no real need for all this indirection. gdb/ChangeLog: 2017-06-12 Pedro Alves <palves@redhat.com> * dwarf2read.c (file_write(FILE *, const void *, size_t)): Delete. (file_write (FILE *, const std::vector<Elem>&)): Delete. (data_buf::file_write): Call ::fwrite directly.
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 316e03a..e3e980d 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,11 @@
2017-06-12 Pedro Alves <palves@redhat.com>
+ * dwarf2read.c (file_write(FILE *, const void *, size_t)): Delete.
+ (file_write (FILE *, const std::vector<Elem>&)): Delete.
+ (data_buf::file_write): Call ::fwrite directly.
+
+2017-06-12 Pedro Alves <palves@redhat.com>
+
* dwarf2read.c (uniquify_cu_indices): Use std::unique and
std::vector::erase.