This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
[binutils-gdb] [GDB/testsuite] Use %progbits in watch-loc.c
- From: Thomas Preud'homme <thopre01 at sourceware dot org>
- To: gdb-cvs at sourceware dot org
- Date: 2 Mar 2018 11:53:58 -0000
- Subject: [binutils-gdb] [GDB/testsuite] Use %progbits in watch-loc.c
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=ecc054c097e7ced281d02ef9632eb0261a410b96
commit ecc054c097e7ced281d02ef9632eb0261a410b96
Author: Thomas Preud'homme <thomas.preudhomme@arm.com>
Date: Fri Mar 2 11:51:34 2018 +0000
[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.
Diff:
---
gdb/testsuite/ChangeLog | 5 +++++
gdb/testsuite/gdb.dlang/watch-loc.c | 2 +-
gdb/testsuite/gdb.mi/dw2-ref-missing-frame-func.c | 2 +-
3 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 63c6263..7c80479 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -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.
diff --git a/gdb/testsuite/gdb.dlang/watch-loc.c b/gdb/testsuite/gdb.dlang/watch-loc.c
index 06fcc89..46810bc 100644
--- a/gdb/testsuite/gdb.dlang/watch-loc.c
+++ b/gdb/testsuite/gdb.dlang/watch-loc.c
@@ -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
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