[gdb/testsuite] Use %progbits in watch-loc.c
Commit Message
Done. Committed the following:
*** gdb/testsuite/ChangeLog ***
2018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
* gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
* gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
Best regards,
Thomas
On 02/03/18 11:44, Yao Qi wrote:
> Thomas Preudhomme <thomas.preudhomme@foss.arm.com> writes:
>
>> 2018-03-01 Thomas Preud'homme <thomas.preudhomme@arm.com>
>>
>> * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
>
> Patch is good to me. A nit, can you update
> gdb.mi/dw2-ref-missing-frame-func.c as well? @progbits is used there as well.
>
@@ -38,7 +38,7 @@ main (void)
generated by GCC. (.gdb_index includes a gdb-generated map
instead.) */
asm (
-" .pushsection .debug_aranges,\"\",@progbits \n"
+" .pushsection .debug_aranges,\"\",%progbits \n"
" .4byte .Laranges_end - .Laranges_start \n" // Length of Address Ranges Info
".Laranges_start: \n"
" .2byte 0x2 \n" // DWARF Version
@@ -57,7 +57,7 @@ asm ("cu_text_end:");
generated by GCC. (.gdb_index includes a gdb-generated map
instead.) */
asm (
-" .pushsection .debug_aranges,\"\",@progbits \n"
+" .pushsection .debug_aranges,\"\",%progbits \n"
" .4byte .Laranges_end - .Laranges_start \n" // Length of Address Ranges Info
".Laranges_start: \n"
" .2byte 0x2 \n" // DWARF Version