diff options
author | Mark Wielaard <mark@klomp.org> | 2020-09-07 14:03:20 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2020-09-07 14:03:20 +0100 |
commit | d2a54558074287721ce9e47142f7fa92bda15531 (patch) | |
tree | c8bb313bdfd20f3105bc554434624ca7e3562433 /gdbsupport/forward-scope-exit.h | |
parent | bdd3b953e24c3d2bc55e06e30e0ef5e0ff829e3f (diff) | |
download | gdb-d2a54558074287721ce9e47142f7fa92bda15531.zip gdb-d2a54558074287721ce9e47142f7fa92bda15531.tar.gz gdb-d2a54558074287721ce9e47142f7fa92bda15531.tar.bz2 |
gas: Output directory and file names in .debug_line_str for DWARF5
* dwarf2dbg.c (add_line_strp): New function.
(out_dir_and_file_list): Take line_seg and sizeof_offset as
arguments, Use DW_FORM_line_strp for dir and file. Call
add_line_strp and set symbol offset for DWARF2_LINE_VERSION 5.
(out_debug_line): Call out_dir_and_file_list with line_seg and
sizeof_offset.
* gas/testsuite/gas/elf/dwarf-5-file0.d: Expect indirect line
strings.
Diffstat (limited to 'gdbsupport/forward-scope-exit.h')
0 files changed, 0 insertions, 0 deletions