Code cleanup: dwarf2read.c: Eliminate ::file_write
authorPedro Alves <palves@redhat.com>
Fri, 9 Jun 2017 23:53:00 +0000 (00:53 +0100)
committerPedro Alves <palves@redhat.com>
Mon, 12 Jun 2017 16:06:25 +0000 (17:06 +0100)
commita81e6d4d261b7471428408f4ebba1b8113c16ccf
treee4bde487e60b73158bad804a8f4cf7e625edaa01
parent6fd931f2d66af8398b2fae3ab5f5afe091b8362f
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.
gdb/ChangeLog
gdb/dwarf2read.c
This page took 0.026196 seconds and 4 git commands to generate.