diff options
author | Thomas Preud'homme <thomas.preudhomme@arm.com> | 2018-03-02 11:51:34 +0000 |
---|---|---|
committer | Thomas Preud'homme <thomas.preudhomme@arm.com> | 2018-03-02 11:52:54 +0000 |
commit | ecc054c097e7ced281d02ef9632eb0261a410b96 (patch) | |
tree | e22497abd6142293cf86f572835af8b87d4b61b7 /gdb/testsuite/gdb.mi/dw2-ref-missing-frame-func.c | |
parent | 9a2ebffd4dd9cffac395177e997f6f47408b4782 (diff) | |
download | gdb-ecc054c097e7ced281d02ef9632eb0261a410b96.zip gdb-ecc054c097e7ced281d02ef9632eb0261a410b96.tar.gz gdb-ecc054c097e7ced281d02ef9632eb0261a410b96.tar.bz2 |
[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.
Diffstat (limited to 'gdb/testsuite/gdb.mi/dw2-ref-missing-frame-func.c')
-rw-r--r-- | gdb/testsuite/gdb.mi/dw2-ref-missing-frame-func.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.mi/dw2-ref-missing-frame-func.c b/gdb/testsuite/gdb.mi/dw2-ref-missing-frame-func.c index c6edff8..c0800e9 100644 --- a/gdb/testsuite/gdb.mi/dw2-ref-missing-frame-func.c +++ b/gdb/testsuite/gdb.mi/dw2-ref-missing-frame-func.c @@ -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 |