aboutsummaryrefslogtreecommitdiff
path: root/gdb/ChangeLog
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2017-06-10 16:51:14 +0100
committerPedro Alves <palves@redhat.com>2017-06-12 17:06:25 +0100
commitc2f134ac418eafca850e7095d789a01ec1142fc4 (patch)
tree245250ffdc309062637eb7f2c8b0434797dc8fbf /gdb/ChangeLog
parenta81e6d4d261b7471428408f4ebba1b8113c16ccf (diff)
downloadgdb-c2f134ac418eafca850e7095d789a01ec1142fc4.zip
gdb-c2f134ac418eafca850e7095d789a01ec1142fc4.tar.gz
gdb-c2f134ac418eafca850e7095d789a01ec1142fc4.tar.bz2
Code cleanup: dwarf2read.c: Add data_buf::append_uint
This avoids having to specify the integer size twice in the same line. gdb/ChangeLog: 2017-06-12 Pedro Alves <palves@redhat.com> * dwarf2read.c (data_buf::append_space): Rename to... (data_buf::grow): ... this, and make private. Adjust all callers. (data_buf::append_uint): New method. (add_address_entry, write_one_signatured_type) (write_psymtabs_to_index): Use it.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r--gdb/ChangeLog8
1 files changed, 8 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index e3e980d..4c8657c 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,13 @@
2017-06-12 Pedro Alves <palves@redhat.com>
+ * dwarf2read.c (data_buf::append_space): Rename to...
+ (data_buf::grow): ... this, and make private. Adjust all callers.
+ (data_buf::append_uint): New method.
+ (add_address_entry, write_one_signatured_type)
+ (write_psymtabs_to_index): Use it.
+
+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.