This is the mail archive of the
mailing list for the GDB project.
Re: [PATCH v2 01/19] Add test for modifiable DWARF locations
On 17-05-09 19:45:57, Andreas Arnez wrote:
> 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.dwarf2/var-access.c: New file.
> * gdb.dwarf2/var-access.exp: New test.
> * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.