diff options
author | Tom Tromey <tom@tromey.com> | 2020-02-08 13:40:54 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2020-02-08 13:43:24 -0700 |
commit | 03075812752042ebea6ac3108829b46e272d3ad9 (patch) | |
tree | d9b36847e773d37f20f954e44e9de73ca5e3dae1 /gdb/tramp-frame.h | |
parent | bb82240439b045d99adafc430ed38bc9c02e2807 (diff) | |
download | gdb-03075812752042ebea6ac3108829b46e272d3ad9.zip gdb-03075812752042ebea6ac3108829b46e272d3ad9.tar.gz gdb-03075812752042ebea6ac3108829b46e272d3ad9.tar.bz2 |
Change line_table methods to return unique_xmalloc_ptr
This changes the two new line_table methods to return
unique_xmalloc_ptr. This removes a bit of manual memory management.
2020-02-08 Tom Tromey <tom@tromey.com>
* dwarf2/read.c (struct line_header) <file_full_name,
file_file_name>: Return unique_xmalloc_ptr.
(line_header::file_file_name): Update.
(line_header::file_full_name): Update.
(dw2_get_file_names_reader): Update.
(macro_start_file): Update.
Change-Id: I9442dba43882fb26097d0770a291eea2b03913a4
Diffstat (limited to 'gdb/tramp-frame.h')
0 files changed, 0 insertions, 0 deletions