From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTPS id 96EEF3852C4E for ; Mon, 21 Nov 2022 14:53:18 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 96EEF3852C4E Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1669042398; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=eFq4m6Jpbwp/RQTufzeJjloubg0xy0bZF0Dezf0t3QI=; b=Pwr0ec8yURBc88CEU86vxSXVg1mODZovgbqMtlKi9uY9t2FNcf07yaZGJ4UZWEtMOH1RTE sZ2pWYtXKcMmpXUcDHbI8VzFn1Ojujt+wxiv+U3yl2+UL7zqZordVwpkXlV+8iVrshWhtq kXCnX/YFW5E1uiyjxUbgVZ3lv1p3va8= Received: from mail-wm1-f69.google.com (mail-wm1-f69.google.com [209.85.128.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-569-z3s5E7jpOXW3dUhqNZnq9g-1; Mon, 21 Nov 2022 09:53:17 -0500 X-MC-Unique: z3s5E7jpOXW3dUhqNZnq9g-1 Received: by mail-wm1-f69.google.com with SMTP id z18-20020a05600c221200b003cf7fcc286aso3199038wml.1 for ; Mon, 21 Nov 2022 06:53:16 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=eFq4m6Jpbwp/RQTufzeJjloubg0xy0bZF0Dezf0t3QI=; b=ASwMLaPr0WokpX1akoeXN+PRn4joHHi4mruryXVBYUgzv/UN0ZX6fFdq8l3qPTCGrj SjzRkCbSjjjxdZSEWosJ8paRW7ReJZOh3ORnFrjGp86GkQ/iWRDK7XJCIZ+OaYvhQc3J jKwLY7MvVWZBcAhBcNiCQuLn6ssnstgRt0MXDZRJalE3NKqGH3vVnVJZFYpjUJeI+ABi /cEKnNWeOqyyUA1EAV1RamlxhGuVfnysWa7v/0jx9jfrLt0ttD5CE1e6dQpeFtG74c7X 3yBvXPlfXOST8LMp8PcnFRhdFoqWX4odi5SAIYyuGpwa1WL5JlAZsD7B5mGiE3vPz9UA dLxA== X-Gm-Message-State: ANoB5pmlGpnFx4R+MuyaHWE5g4If/kmnGO/4xMzDLzB/rLdNtJEChh51 vxLXFfQAkjeKspiy4vVRrgtaYGxdaWGNvDWDjJLDu/wDls/iFDxUPZiRebemyKDEWrajucVxjB/ /iDpzVu0bytCz1yOi6g== X-Received: by 2002:a05:600c:3229:b0:3cf:7194:e0 with SMTP id r41-20020a05600c322900b003cf719400e0mr3074921wmp.141.1669042395504; Mon, 21 Nov 2022 06:53:15 -0800 (PST) X-Google-Smtp-Source: AA0mqf7YMRK4ceHAtvWp6+k5s2fM3HafxDfQmFQNqVlgQfAUdJRR5XFKkrTXe0sBc/BcdBcasG1wNw== X-Received: by 2002:a05:600c:3229:b0:3cf:7194:e0 with SMTP id r41-20020a05600c322900b003cf719400e0mr3074908wmp.141.1669042395269; Mon, 21 Nov 2022 06:53:15 -0800 (PST) Received: from [192.168.1.18] (adsl-164-85.freeuk.com. [80.168.164.85]) by smtp.gmail.com with ESMTPSA id bi18-20020a05600c3d9200b003cfd42821dasm14294903wmb.3.2022.11.21.06.53.14 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 21 Nov 2022 06:53:14 -0800 (PST) Message-ID: Date: Mon, 21 Nov 2022 14:53:13 +0000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.0 Subject: Re: [PATCH] gas: Add --gcodeview option To: Mark Harmstone , binutils@sourceware.org References: <20221115010409.24214-1-mark@harmstone.com> From: Nick Clifton In-Reply-To: <20221115010409.24214-1-mark@harmstone.com> X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-GB Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Hi Mark, > This patch adds a --gcodeview option to as, which causes it to emit a > .debug$S section with line number details in Microsoft's CodeView > format. My upcoming PDB patches to ld will parse these so they can be > read by windbg etc. I encountered one new assembler testsuite failure whilst testing this patch locally: FAIL: Failed to extract .debug$S section from codeview1.o The lines before it showed a confusing error message: Executing on host: sh -c {objcopy --dump-section .debug\$S=tmpdir/codeview-debug tmpdir/codeview1.o 2>&1} /dev/null dump.out (timeout = 300) spawn [open ...] objcopy: tmpdir/codeview1.o: can't dump section '.debug$S' - it does not exist: file format not recognized This was using a toolchain configured as --target=x86_64-w64-mingw32 Could you look into this please ? Cheers Nick