Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [PATCH, gdb/testsuite] Use %progbits in watch-loc.c
@ 2018-03-01 19:02 Thomas Preudhomme
  2018-03-02 11:44 ` Yao Qi
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas Preudhomme @ 2018-03-01 19:02 UTC (permalink / raw)
  To: Pedro Alves, GDB Patches

[-- Attachment #1: Type: text/plain, Size: 528 bytes --]

Hi,

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 by %progbits which should work on all
targets since it is used in target-independent elf/section7.s GAS test.

ChangeLog entry is as follows:

*** gdb/testsuite/ChangeLog ***

2018-03-01  Thomas Preud'homme  <thomas.preudhomme@arm.com>

	* gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.

Is this ok for master?

Best regards,

Thomas

[-- Attachment #2: fix_progbits_use_watch-loc.patch --]
[-- Type: text/x-patch, Size: 623 bytes --]

diff --git a/gdb/testsuite/gdb.dlang/watch-loc.c b/gdb/testsuite/gdb.dlang/watch-loc.c
index 06fcc8922b43712dd36ce84600203427477ff69d..46810bcd2372ebc69c4c66e46ec9ee5b80f98b1a 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-03-02 11:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-01 19:02 [PATCH, gdb/testsuite] Use %progbits in watch-loc.c Thomas Preudhomme
2018-03-02 11:44 ` Yao Qi
2018-03-02 11:54   ` Thomas Preudhomme

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox