[GDB/testsuite] Use %progbits in watch-loc.c
While using @progbits in .pushsection work on some targets, it does not work on arm target where this introduces a comment. This patch replaces its use in gdb.dlang/watch-loc.c and gdb.mi/dw2-ref-missing-frame-func.c by %progbits which should work on all targets since it is used in target-independent elf/section7.s GAS test. 2018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com> gdb/testsuite/ * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits. * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
This commit is contained in:
parent
9a2ebffd4d
commit
ecc054c097
@ -1,3 +1,8 @@
|
||||
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.
|
||||
|
||||
2018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
|
||||
|
||||
* gdb.server/abspath.exp: New file.
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user