Re: [PATCH 13/22] Convert read_indirect_line_string to a method

Simon Marchi
2020-03-24T02:49:21Z

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