This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] Add discriminator support to gas .loc directive


On Fri, Apr 24, 2009 at 11:33 AM, Cary Coutant <ccoutant@google.com> wrote:
>>> ? ? ? ?* NEWS: Add item about discriminator support.
>>> ? ? ? ?* dwarf2dbg.h (struct dwarf2_line_info): Add discriminator field.
>>> ? ? ? ?* dwarf2dbg.c (current): Add discriminator field.
>>> ? ? ? ?(dwarf2_where): Copy discriminator value.
>>> ? ? ? ?(dwarf2_consume_line_info): Set discriminator to 0.
>>> ? ? ? ?(dwarf2_directive_loc): Process discriminator sub-op.
>>> ? ? ? ?(out_leb128): New function.
>>> ? ? ? ?(process_entries): Output DW_LNE_set_discriminator.
>>> ? ? ? ?* doc/as.texinfo: Add discriminator operand to .loc directive.
>>> ? ? ? ?* testsuite/gas/lns/lns-common-1.d: Add test for discriminator.
>>> ? ? ? ?* testsuite/gas/lns/lns-common-1.s: Likewise.
>>
>> Approved - please apply.
>
> Thanks! Committed.

I checked in this patch to update gas/lns/lns-common-1-ia64.s.

-- 
H.J.
---
2009-05-05  H.J. Lu  <hongjiu.lu@intel.com>

	* gas/lns/lns-common-1-ia64.s: Add test for discriminator.

Index: gas/lns/lns-common-1-ia64.s
===================================================================
--- gas/lns/lns-common-1-ia64.s	(revision 5846)
+++ gas/lns/lns-common-1-ia64.s	(working copy)
@@ -14,3 +14,5 @@
 	{ .mii; nop 0; nop 0; nop 0 ;; }
 	.loc 1 7 is_stmt 1
 	{ .mii; nop 0; nop 0; nop 0 ;; }
+	.loc 1 7 discriminator 1
+	{ .mii; nop 0; nop 0; nop 0 ;; }


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]