diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2025-04-07 13:51:59 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@efficios.com> | 2025-04-08 14:04:08 -0400 |
commit | 6488583941b234e65b8d44aa1436fd871d6e16f2 (patch) | |
tree | 02f3ac1601dc5b914fe29557a5be05da5a42b60b /gdb/testsuite/gdb.python/py-mi-cmd.py | |
parent | 34f5a310b4f59546652947de751329a0ea765101 (diff) | |
download | binutils-6488583941b234e65b8d44aa1436fd871d6e16f2.zip binutils-6488583941b234e65b8d44aa1436fd871d6e16f2.tar.gz binutils-6488583941b234e65b8d44aa1436fd871d6e16f2.tar.bz2 |
gdb/testsuite/dwarf: add support to generate DWARF 5 split compile units
Add support to the DWARF assembler to generate DWARF 5 split compile
units. The assembler knows how to generate DWARF < 5 split compile
units (fission), DWARF 5 compile units, but not DWARF 5 split compile
units. What's missing is:
- using the right unit type in the header: skeleton for the unit in the
main file and split_compile for the unit in the DWO file
- have a way for the caller to specify the DWO ID that will end up in
the unit header
Add a dwo_id parameter to the cu proc. In addition to specifying the
DWO ID, the presence of this parameter tells the assembler to use the
skeleton or split_compile unit type.
This is used in a subsequent patch.
Change-Id: I05d9b189a0843ea6c2771b1d5e5a91762426dea9
Approved-By: Tom Tromey <tom@tromey.com>
Diffstat (limited to 'gdb/testsuite/gdb.python/py-mi-cmd.py')
0 files changed, 0 insertions, 0 deletions