From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oi0-x229.google.com (mail-oi0-x229.google.com [IPv6:2607:f8b0:4003:c06::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 4EB161A1DEB for ; Mon, 12 Sep 2016 01:32:27 -0700 (PDT) Received: by mail-oi0-x229.google.com with SMTP id q188so182973146oia.3 for ; Mon, 12 Sep 2016 01:32:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=CfWTTzuN1BckmE70e45z0fgO/l7KPg2huSPN/K1h260=; b=TdXH4TbJZgYTlFeiP8lb6byPM3naUeeZigdU83VvlZj6Wtx8DDhx5H7vDtkH0cC3iQ KX8aezEP+YLAz6tbprZkszc19V+lIvvQSpMmiiYdYDSkVkEIl3ivfh+oum2SyNTfVJW/ rgGtJEgG9NtE/mQrkrAiV7zWKmAvsn4JqAzCQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=CfWTTzuN1BckmE70e45z0fgO/l7KPg2huSPN/K1h260=; b=T26cDM24+Z/z66yD5QpNSdMUvrx/J52p2EcwWUg9UGkE16sZMjqwEI5Zv7kBKdGChn yu9mIdr0SnzfwM3YUMyxuviX2cO2hdKgFRvPrcRl7sgqGh6JnugB4fZLLn19mXHnk5CA 1Ox+0n9S3Uq9MogcOhOyfBHn/QSL+gxiR6Vh/yqu3gixzGqemouSQGlglcD/PcKKwGAO LSKY0HD+sV59xXzVU81DXNU1Andfn0l52OTJJRl8kOqe1f+pLY6+Jb7BoSARWwyBSzBM hEkVfZQG228gFcPhaX1sOGyYHTfL2QeZ1zxtZTecPyuaVgkFU0uKWqKAMr3/NcdmPBuT /U7A== X-Gm-Message-State: AE9vXwOZSk6ahL6/SNDE1ujWE+hH6XD9CH6Ggqlsm7wdaUXvfNuvTWe01zafB2JF2/JN8y5+/lkEoFQnt/H8kUbI X-Received: by 10.202.65.196 with SMTP id o187mr22464234oia.105.1473669146412; Mon, 12 Sep 2016 01:32:26 -0700 (PDT) MIME-Version: 1.0 Received: by 10.36.204.195 with HTTP; Mon, 12 Sep 2016 01:32:26 -0700 (PDT) In-Reply-To: <4F48B3E6-DE76-4142-88D1-F7B99E59DEF0@apple.com> References: <1473444037-15016-1-git-send-email-ard.biesheuvel@linaro.org> <4F48B3E6-DE76-4142-88D1-F7B99E59DEF0@apple.com> From: Ard Biesheuvel Date: Mon, 12 Sep 2016 09:32:26 +0100 Message-ID: To: Andrew Fish Cc: edk2-devel-01 , Leif Lindholm Subject: Re: [PATCH] ArmPkg/DefaultExceptionHandlerLib: improve formatting of backtrace X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Sep 2016 08:32:27 -0000 Content-Type: text/plain; charset=UTF-8 On 10 September 2016 at 01:23, Andrew Fish wrote: > > >> On Sep 9, 2016, at 11:00 AM, Ard Biesheuvel wrote: >> >> Implement the backtrace formattting suggested by Andrew, i.e., >> >> IRQ Exception at 0x000000005BE182B0 >> PC 0x00005BE182B0 (0x00005BE14000+0x000042B0) [ 0] ArmCpuDxe.dll >> PC 0x00005BE15770 (0x00005BE14000+0x00001770) [ 0] ArmCpuDxe.dll >> PC 0x00005EF08CC8 (0x00005EEEB000+0x0001DCC8) [ 1] DxeCore.dll >> PC 0x00005EF09008 (0x00005EEEB000+0x0001E008) [ 1] DxeCore.dll >> PC 0x00005EEF6ACC (0x00005EEEB000+0x0000BACC) [ 1] DxeCore.dll >> PC 0x00005EF0963C (0x00005EEEB000+0x0001E63C) [ 1] DxeCore.dll >> PC 0x00005EF09A38 (0x00005EEEB000+0x0001EA38) [ 1] DxeCore.dll >> PC 0x00005EF01560 (0x00005EEEB000+0x00016560) [ 1] DxeCore.dll >> PC 0x00005EF02FB4 (0x00005EEEB000+0x00017FB4) [ 1] DxeCore.dll >> PC 0x00005EF03098 (0x00005EEEB000+0x00018098) [ 1] DxeCore.dll >> PC 0x00005EF0460C (0x00005EEEB000+0x0001960C) [ 1] DxeCore.dll >> PC 0x00005EF005C4 (0x00005EEEB000+0x000155C4) [ 1] DxeCore.dll >> PC 0x00005EF00360 (0x00005EEEB000+0x00015360) [ 1] DxeCore.dll >> PC 0x00005EF003C8 (0x00005EEEB000+0x000153C8) [ 1] DxeCore.dll >> PC 0x00005EF128D0 (0x00005EEEB000+0x000278D0) [ 1] DxeCore.dll >> PC 0x00005EF12930 (0x00005EEEB000+0x00027930) [ 1] DxeCore.dll >> PC 0x00005EEEF594 (0x00005EEEB000+0x00004594) [ 1] DxeCore.dll >> PC 0x00005EF0CF18 (0x00005EEEB000+0x00021F18) [ 1] DxeCore.dll >> PC 0x00005EF1A310 (0x00005EEEB000+0x0002F310) [ 1] DxeCore.dll >> PC 0x00005EEF1808 (0x00005EEEB000+0x00006808) [ 1] DxeCore.dll >> PC 0x00005EEF1E48 (0x00005EEEB000+0x00006E48) [ 1] DxeCore.dll >> PC 0x00005EF0A838 (0x00005EEEB000+0x0001F838) [ 1] DxeCore.dll >> PC 0x00005EEED70C (0x00005EEEB000+0x0000270C) [ 1] DxeCore.dll >> PC 0x00005EEEC93C (0x00005EEEB000+0x0000193C) [ 1] DxeCore.dll >> PC 0x00005EEEC024 (0x00005EEEB000+0x00001024) [ 1] DxeCore.dll >> >> [ 0] /home/ard/build/edk2/Build/ArmVirtQemu-AARCH64/DEBUG_GCC5/AARCH64/ArmPkg/Drivers/CpuDxe/CpuDxe/DEBUG/ArmCpuDxe.dll >> [ 1] /home/ard/build/edk2/Build/ArmVirtQemu-AARCH64/DEBUG_GCC5/AARCH64/MdeModulePkg/Core/Dxe/DxeMain/DEBUG/DxeCore.dll >> > > Ard, > > I was just trying to start a conversation, but I can't complain about a patch. > Yeah, well, you made a good point. > Given I seem to be having a good day with "The Force"(tm)... To process the clipboard Python tkinter makes it easy it does. So you can cut the backtrace from the terminal and run the script to symbolicate, or use a file as input. > That sounds straightforward enough. Still, I am going to let someone with better python foo pick up that part Thanks, Ard.