diff options
author | Andreas Arnez <arnez@linux.vnet.ibm.com> | 2017-06-13 15:20:25 +0200 |
---|---|---|
committer | Andreas Arnez <arnez@linux.vnet.ibm.com> | 2017-06-13 15:20:25 +0200 |
commit | 0567c9861e113a573cc905002a59cb1bc3d78450 (patch) | |
tree | 56f275a2ac62cabf8f7d4786257fdea239a573ed /gdb/proc-api.c | |
parent | 10bbbc1d790836122c417fe4fef7233604bb3982 (diff) | |
download | gdb-0567c9861e113a573cc905002a59cb1bc3d78450.zip gdb-0567c9861e113a573cc905002a59cb1bc3d78450.tar.gz gdb-0567c9861e113a573cc905002a59cb1bc3d78450.tar.bz2 |
Add test for modifiable DWARF locations
This adds a test for read/write access to variables with various types of
DWARF locations. It uses register- and memory locations and composite
locations with register- and memory pieces.
Since the new test calls gdb_test_no_output with commands that contain
braces, it is necessary for string_to_regexp to quote braces as well.
This was not done before.
gdb/testsuite/ChangeLog:
* gdb.dwarf2/var-access.c: New file.
* gdb.dwarf2/var-access.exp: New test.
* lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
Diffstat (limited to 'gdb/proc-api.c')
0 files changed, 0 insertions, 0 deletions