Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [PATCH] Remove unnecessary '#' from an assembly test file
@ 2012-10-10 15:48 Yufeng Zhang
  2012-10-12 10:01 ` Yao Qi
  2012-10-14 17:10 ` Joel Brobecker
  0 siblings, 2 replies; 5+ messages in thread
From: Yufeng Zhang @ 2012-10-10 15:48 UTC (permalink / raw)
  To: gdb-patches

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

Hi,

This patch removes a hash character from the end of a symbol in 
gdb/testsuite/gdb.dwarf2/dw2-icc-opaque.S

While some assemblers (e.g. x86 gas) are tolerant of it, others (e.g. 
arm gas) do complain about it.

Is it OK?

Thanks,
Yufeng


testsuite/ChangeLog

2012-10-10  Yufeng Zhang  <yufeng.zhang@arm.com>

	* gdb.dwarf2/dw2-icc-opaque.S: Remove '#'.

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: hash-symbol.patch --]
[-- Type: text/x-patch; name=hash-symbol.patch, Size: 392 bytes --]

diff --git a/gdb/testsuite/gdb.dwarf2/dw2-icc-opaque.S b/gdb/testsuite/gdb.dwarf2/dw2-icc-opaque.S
index 47b017b..ddeb6c8 100644
--- a/gdb/testsuite/gdb.dwarf2/dw2-icc-opaque.S
+++ b/gdb/testsuite/gdb.dwarf2/dw2-icc-opaque.S
@@ -35,7 +35,7 @@
 	.file "opaque-pointer.c"
 	.data
 	.comm p_struct,8,8
-	.global p_struct#
+	.global p_struct
 
 	.section .debug_info
 debug_info_seg1:

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

* Re: [PATCH] Remove unnecessary '#' from an assembly test file
  2012-10-10 15:48 [PATCH] Remove unnecessary '#' from an assembly test file Yufeng Zhang
@ 2012-10-12 10:01 ` Yao Qi
  2012-10-14 17:10 ` Joel Brobecker
  1 sibling, 0 replies; 5+ messages in thread
From: Yao Qi @ 2012-10-12 10:01 UTC (permalink / raw)
  To: Yufeng Zhang; +Cc: gdb-patches

On 10/10/2012 11:48 PM, Yufeng Zhang wrote:
> This patch removes a hash character from the end of a symbol in
> gdb/testsuite/gdb.dwarf2/dw2-icc-opaque.S
>
> While some assemblers (e.g. x86 gas) are tolerant of it, others (e.g.
> arm gas) do complain about it.
>

IIUC, dw2-icc-opaque.S is generated by icc, and looks icc adds a 
trailing '#' at the end of symbol.  The '#' is useless here, AFAICS.

On the other hand, tic6x gas complains about it as well.  I vote to 
remove this '#' as well, but I am not the people to approve it.

-- 
Yao


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

* Re: [PATCH] Remove unnecessary '#' from an assembly test file
  2012-10-10 15:48 [PATCH] Remove unnecessary '#' from an assembly test file Yufeng Zhang
  2012-10-12 10:01 ` Yao Qi
@ 2012-10-14 17:10 ` Joel Brobecker
  2012-10-15  8:56   ` Yufeng Zhang
  1 sibling, 1 reply; 5+ messages in thread
From: Joel Brobecker @ 2012-10-14 17:10 UTC (permalink / raw)
  To: Yufeng Zhang; +Cc: gdb-patches

> 2012-10-10  Yufeng Zhang  <yufeng.zhang@arm.com>
> 
> 	* gdb.dwarf2/dw2-icc-opaque.S: Remove '#'.

Looks OK to me. Do you have write permissions on the GDB repository?

-- 
Joel


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

* Re: [PATCH] Remove unnecessary '#' from an assembly test file
  2012-10-14 17:10 ` Joel Brobecker
@ 2012-10-15  8:56   ` Yufeng Zhang
  2012-10-15 17:26     ` Joel Brobecker
  0 siblings, 1 reply; 5+ messages in thread
From: Yufeng Zhang @ 2012-10-15  8:56 UTC (permalink / raw)
  To: Joel Brobecker; +Cc: gdb-patches

On 10/14/12 18:10, Joel Brobecker wrote:
>> 2012-10-10  Yufeng Zhang<yufeng.zhang@arm.com>
>>
>> 	* gdb.dwarf2/dw2-icc-opaque.S: Remove '#'.
>
> Looks OK to me. Do you have write permissions on the GDB repository?

No, I don't.  Can you help commit it please?

Thanks,
Yufeng


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

* Re: [PATCH] Remove unnecessary '#' from an assembly test file
  2012-10-15  8:56   ` Yufeng Zhang
@ 2012-10-15 17:26     ` Joel Brobecker
  0 siblings, 0 replies; 5+ messages in thread
From: Joel Brobecker @ 2012-10-15 17:26 UTC (permalink / raw)
  To: Yufeng Zhang; +Cc: gdb-patches

> >>2012-10-10  Yufeng Zhang<yufeng.zhang@arm.com>
> >>
> >>	* gdb.dwarf2/dw2-icc-opaque.S: Remove '#'.
> >
> >Looks OK to me. Do you have write permissions on the GDB repository?
> 
> No, I don't.  Can you help commit it please?

Sure, now done.

-- 
Joel


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

end of thread, other threads:[~2012-10-15 17:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-10 15:48 [PATCH] Remove unnecessary '#' from an assembly test file Yufeng Zhang
2012-10-12 10:01 ` Yao Qi
2012-10-14 17:10 ` Joel Brobecker
2012-10-15  8:56   ` Yufeng Zhang
2012-10-15 17:26     ` Joel Brobecker

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