[PATCH 13/22] Convert read_indirect_line_string to a method
Simon Marchi
simark@simark.ca
Tue Mar 24 02:49:20 GMT 2020
On 2020-03-22 2:45 p.m., Tom Tromey wrote:
> @@ -18790,17 +18786,15 @@ read_indirect_string (struct dwarf2_per_objfile *dwarf2_per_objfile, bfd *abfd,
> BUF is assumed to be in a compilation unit described by CU_HEADER.
> Return *BYTES_READ_PTR count of bytes read from BUF. */
>
> -static const char *
> -read_indirect_line_string (struct dwarf2_per_objfile *dwarf2_per_objfile,
> - bfd *abfd, const gdb_byte *buf,
> +const char *
> +dwarf2_per_objfile::read_line_string (const gdb_byte *buf,
> const struct comp_unit_head *cu_header,
> unsigned int *bytes_read_ptr)
The comment above this definition should become
/* See read.h. */
Simon
More information about the Gdb-patches
mailing list