mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-21 04:42:53 +08:00
50ea087755
PR 26829 * dwarf.c (struct dwo_info): Add cu_offset field. (add_dwo_info): Add cu_offset parameter. Record in new dwo_info struct. (add_dwo_name): Add cu_offset field. (add_dwo_dir): Add cu_offset field. (add_dwo_id): Add cu_offset field. (read_and_display_attr_value): Pass cu_offset to dwo recording functions. (load_separate_debug_files): Accumulate name, dir and id values and display once for each CU. * testsuite/binutils-all/dwo.sL Use a separate CU for the second dwo link. * testsuite/binutils-all/readelf.k2: Update expected output.
10 lines
281 B
Plaintext
10 lines
281 B
Plaintext
The \.debug_info section contains link\(s\) to dwo file\(s\):
|
|
|
|
Name: file\.dwo
|
|
Directory: /another/path/
|
|
ID: (12|dd) (34|cc) (56|bb) (78|aa) (78|aa) (56|bb) (34|cc) (12|dd)
|
|
|
|
Name: debugfile\.dwo
|
|
Directory: /path/to/dwo/files
|
|
ID: <not specified>
|