[binutils-gdb] Code cleanup: dwarf2read.c: Add data_buf::append_uint
sergiodj+buildbot@sergiodj.net
sergiodj+buildbot@sergiodj.net
Mon Jun 12 18:23:00 GMT 2017
*** 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.
More information about the Gdb-testers
mailing list