From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out01.mta.xmission.com (out01.mta.xmission.com [166.70.13.231]) by mx.groups.io with SMTP id smtpd.web10.44019.1590459597893350058 for ; Mon, 25 May 2020 19:19:58 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@bsdio.com header.s=xmission header.b=A5k+YLEq; spf=pass (domain: bsdio.com, ip: 166.70.13.231, mailfrom: rebecca@bsdio.com) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=simple/simple; d=bsdio.com; s=xmission; h=Subject:Content-Transfer-Encoding:Content-Type:In-Reply-To: MIME-Version:Date:Message-ID:From:References:To:Sender:Reply-To:Cc:Content-ID :Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To: Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe :List-Post:List-Owner:List-Archive; bh=K3eHh0g+XSK1Y/gwUqUzycYxKlQDe62gjZJLq/9NK58=; b=A5k+YLEqIW7cqoltQwdr6TrKOU YgfShwWWhyJiHHu5GuXHTJ0bPeBB+x71LZi05frb5vK0eRzjc3HUlc8Y3RtcpapFJjiobxxvGA79u RwCE7aEoeV7xPOOzInkTig5ZYLzwMq0QEet9mQGrLqioiN2LW6KPhTPRf8TVIU7DDwpo=; Received: from in02.mta.xmission.com ([166.70.13.52]) by out01.mta.xmission.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jdPC9-00068t-0y; Mon, 25 May 2020 20:19:57 -0600 Received: from mta3.zcs.xmission.com ([166.70.13.67]) by in02.mta.xmission.com with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.87) (envelope-from ) id 1jdPC8-000784-Ay; Mon, 25 May 2020 20:19:56 -0600 Received: from localhost (localhost [127.0.0.1]) by mta3.zcs.xmission.com (Postfix) with ESMTP id 16E7A160EA8; Mon, 25 May 2020 20:19:56 -0600 (MDT) X-Amavis-Modified: Mail body modified (using disclaimer) - mta3.zcs.xmission.com Received: from mta3.zcs.xmission.com ([127.0.0.1]) by localhost (mta3.zcs.xmission.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id p7UbUUALtm5x; Mon, 25 May 2020 20:19:56 -0600 (MDT) Received: from [10.0.10.120] (c-174-52-16-57.hsd1.ut.comcast.net [174.52.16.57]) (Authenticated sender: rebecca@bsdio.com) by mta3.zcs.xmission.com (Postfix) with ESMTPSA id D742D160C91; Mon, 25 May 2020 20:19:55 -0600 (MDT) To: devel@edk2.groups.io, afish@apple.com References: <50EEBF6E-8BB1-461D-B252-D37D2990957D@apple.com> From: "Rebecca Cran" Message-ID: <5ea5709b-aa92-84e5-463d-df4801635cd8@bsdio.com> Date: Mon, 25 May 2020 20:19:55 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: <50EEBF6E-8BB1-461D-B252-D37D2990957D@apple.com> X-XM-SPF: eid=1jdPC8-000784-Ay;;;mid=<5ea5709b-aa92-84e5-463d-df4801635cd8@bsdio.com>;;;hst=in02.mta.xmission.com;;;ip=166.70.13.67;;;frm=rebecca@bsdio.com;;;spf=pass X-SA-Exim-Connect-IP: 166.70.13.67 X-SA-Exim-Mail-From: rebecca@bsdio.com X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on sa04.xmission.com X-Spam-Level: * X-Spam-Status: No, score=1.3 required=8.0 tests=ALL_TRUSTED,BAYES_50, DCC_CHECK_NEGATIVE,T_TM2_M_HEADER_IN_MSG,TooManyTo_001,XMSubLong, XM_B_Unicode,XM_Body_Dirty_Words autolearn=disabled version=3.4.2 X-Spam-Report: * -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP * 0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% * [score: 0.5152] * 0.3 TooManyTo_001 Multiple "To" Header Recipients 2x (uncommon) * 0.7 XMSubLong Long Subject * 0.0 T_TM2_M_HEADER_IN_MSG BODY: No description available. * 0.0 XM_B_Unicode BODY: Testing for specific types of unicode * -0.0 DCC_CHECK_NEGATIVE Not listed in DCC * [sa04 0; Body=1 Fuz1=1 Fuz2=1] * 0.5 XM_Body_Dirty_Words Contains a dirty word X-Spam-DCC: ; sa04 0; Body=1 Fuz1=1 Fuz2=1 X-Spam-Combo: *;devel@edk2.groups.io, afish@apple.com X-Spam-Relay-Country: X-Spam-Timing: total 486 ms - load_scoreonly_sql: 0.06 (0.0%), signal_user_changed: 13 (2.6%), b_tie_ro: 11 (2.2%), parse: 1.46 (0.3%), extract_message_metadata: 23 (4.7%), get_uri_detail_list: 1.65 (0.3%), tests_pri_-1000: 13 (2.6%), tests_pri_-950: 1.59 (0.3%), tests_pri_-900: 1.25 (0.3%), tests_pri_-90: 82 (16.9%), check_bayes: 80 (16.5%), b_tokenize: 7 (1.4%), b_tok_get_all: 6 (1.3%), b_comp_prob: 2.6 (0.5%), b_tok_touch_all: 61 (12.5%), b_finish: 1.16 (0.2%), tests_pri_0: 338 (69.7%), check_dkim_signature: 0.75 (0.2%), check_dkim_adsp: 25 (5.2%), poll_dns_idle: 23 (4.8%), tests_pri_10: 2.3 (0.5%), tests_pri_500: 7 (1.4%), rewrite_mail: 0.00 (0.0%) Subject: Re: [edk2-devel] OVMF gdb seems to require "stone knives and bearskins" to debug code? X-Spam-Flag: No X-SA-Exim-Version: 4.2.1 (built Thu, 05 May 2016 13:38:54 -0600) X-SA-Exim-Scanned: Yes (on in02.mta.xmission.com) Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US On 5/24/20 9:30 PM, Andrew Fish via groups.io wrote: > I could open source an lldb symbolication Python script and I'm happy > to explain the common logic to some one to make it easier to port this >  lldb command [3] to gdb. The command can load symbols for any address > that is located in a loaded PE/COFF image, and when you import the > command into lldb it symbolicates the current frame. As Laszlo has already explained, information about debugging with gdb is a bit scattered. I seem to recall there were discussion about getting the DebugPkg into edk2, but there was disagreement about it. However, since I work on platforms which have lldb in base (FreeBSD) or are easily available (Linux), I'd certainly be interested if you were to open source the efi_symolicate.py script and I could learn how to use lldb. -- Rebecca Cran