[PATCH v3 3/5] gdb/testsuite: Add gdb.arch/aarch64-mops-watchpoint.exp

Thiago Jung Bauermann thiago.bauermann@linaro.org
Thu May 23 02:06:10 GMT 2024


Luis Machado <luis.machado@arm.com> writes:

> Thanks.
>
> Just a nit below. I'll set something up on my end to give these tests a try.

Thanks!

> On 5/10/24 06:24, Thiago Jung Bauermann wrote:
>> diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp
>> index 0d78691c381b..25b272fdaabc 100644
>> --- a/gdb/testsuite/lib/gdb.exp
>> +++ b/gdb/testsuite/lib/gdb.exp
>> @@ -4497,6 +4497,67 @@ proc aarch64_supports_sme_svl { length } {
>>      return 1
>>  }
>>  
>> +# Run a test on the target to see if it supports Aarch64 MOPS (Memory
>
> s/Aarch64/AArch64

Thanks. Fixed in v4.

>> +# Operations) extensions.  Return 0 if so, 1 if it does not.  Note this causes
>> +# a restart of GDB.
>> +
>> +gdb_caching_proc allow_aarch64_mops_tests {} {
>> +    global srcdir subdir gdb_prompt inferior_exited_re
>> +
>> +    set me "allow_aarch64_mops_tests"
>> +
>> +    if { ![is_aarch64_target]} {
>> +	return 0
>> +    }

-- 
Thiago


More information about the Gdb-patches mailing list