diff options
author | Tom de Vries <tdevries@suse.de> | 2020-05-08 16:24:09 +0200 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2020-05-08 16:24:09 +0200 |
commit | 283cb58c4ddb8a3dc7a014f5c6a41789fd7de939 (patch) | |
tree | 009a4d7ea4eccdd7e825c006df2eecd8b2c6ba6d /gdb/python/py-lazy-string.c | |
parent | cee2106c5b6a19e89843e4bb32dc23dac87c42bf (diff) | |
download | binutils-283cb58c4ddb8a3dc7a014f5c6a41789fd7de939.zip binutils-283cb58c4ddb8a3dc7a014f5c6a41789fd7de939.tar.gz binutils-283cb58c4ddb8a3dc7a014f5c6a41789fd7de939.tar.bz2 |
[gdb/testsuite] Add gdb.dwarf2/clang-debug-names.c
Add test-case with .debug_names section using DW_FORM_ref4.
There's currently no support for .debug_names in the dwarf assembler, so we
use plain _emit rather than something more structured.
Consequently, we cannot use regular declare_labels-generated labels to refer
from .debug_names to .debug_info. Instead, we use labels with a
predefined name, which we generate using _compute_label, and then define using
define_label.
This is the test-case for PR25952, so kfail the corresponding test.
Tested on x86_64-linux.
gdb/testsuite/ChangeLog:
2020-05-08 Tom de Vries <tdevries@suse.de>
* gdb.dwarf2/clang-debug-names.c: New test.
* gdb.dwarf2/clang-debug-names.exp: New file.
Diffstat (limited to 'gdb/python/py-lazy-string.c')
0 files changed, 0 insertions, 0 deletions