diff options
author | Pedro Alves <palves@redhat.com> | 2017-06-10 16:51:14 +0100 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2017-06-12 17:06:25 +0100 |
commit | c2f134ac418eafca850e7095d789a01ec1142fc4 (patch) | |
tree | 245250ffdc309062637eb7f2c8b0434797dc8fbf /gdb/printcmd.c | |
parent | a81e6d4d261b7471428408f4ebba1b8113c16ccf (diff) | |
download | gdb-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/printcmd.c')
0 files changed, 0 insertions, 0 deletions