This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] Code cleanup: dwarf2read.c: Add data_buf::append_uint
- From: sergiodj+buildbot at sergiodj dot net
- To: gdb-testers at sourceware dot org
- Date: Mon, 12 Jun 2017 14:23:41 -0400
- Subject: [binutils-gdb] Code cleanup: dwarf2read.c: Add data_buf::append_uint
- Authentication-results: sourceware.org; auth=none
*** TEST RESULTS FOR COMMIT c2f134ac418eafca850e7095d789a01ec1142fc4 ***
Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: c2f134ac418eafca850e7095d789a01ec1142fc4
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.