From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from rn-mailsvcp-ppex-lapp34.apple.com (rn-mailsvcp-ppex-lapp34.apple.com [17.179.253.43]) by mx.groups.io with SMTP id smtpd.web11.1276.1631666868237541262 for ; Tue, 14 Sep 2021 17:47:48 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@apple.com header.s=20180706 header.b=bd6/jQ0q; spf=pass (domain: apple.com, ip: 17.179.253.43, mailfrom: afish@apple.com) Received: from pps.filterd (rn-mailsvcp-ppex-lapp34.rno.apple.com [127.0.0.1]) by rn-mailsvcp-ppex-lapp34.rno.apple.com (8.16.1.2/8.16.1.2) with SMTP id 18F0gLxV020259; Tue, 14 Sep 2021 17:47:32 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=apple.com; h=from : content-type : mime-version : subject : date : references : to : in-reply-to : message-id; s=20180706; bh=kF+C4CsuH1qEKTCzL11Uka6AtV0hsfQesMqBibefw7U=; b=bd6/jQ0qM+NPAvqNp8hB/UqdWDks409EYmr8lAwsFxWGhv0WctHNvrAgbyXNMUeezK+U xRtFa9c6AKZ4CVuxOe4Kbnv1T6c4pFKv4czAwLg7LoLwLJ7QuzLvrVFhstflk0M3IfrR la7h9OuW5d8QVJqV4XV9TuH+au/hQ4CqhNboP0CFXWj/d4bpA0Y4LMBBP6xNwg8Bh5FB E8ZWWiqrZo0HP3PbG0klMe1o5qYAPHu6XbwgTmOJH4ZLMXyjyW8fadALxvgYK/zzRxMd o5qfIdOAQHLuVSQlFer6GQwxtUtl6HFR2PmwJbfK5OUwVy6M51Kh2GAXgFmMG7WXYGQV Xg== Received: from rn-mailsvcp-mta-lapp03.rno.apple.com (rn-mailsvcp-mta-lapp03.rno.apple.com [10.225.203.151]) by rn-mailsvcp-ppex-lapp34.rno.apple.com with ESMTP id 3b0ra1p9xf-19 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Tue, 14 Sep 2021 17:47:32 -0700 Received: from rn-mailsvcp-mmp-lapp02.rno.apple.com (rn-mailsvcp-mmp-lapp02.rno.apple.com [17.179.253.15]) by rn-mailsvcp-mta-lapp03.rno.apple.com (Oracle Communications Messaging Server 8.1.0.9.20210415 64bit (built Apr 15 2021)) with ESMTPS id <0QZG00S2YA71NT30@rn-mailsvcp-mta-lapp03.rno.apple.com>; Tue, 14 Sep 2021 17:47:25 -0700 (PDT) Received: from process_milters-daemon.rn-mailsvcp-mmp-lapp02.rno.apple.com by rn-mailsvcp-mmp-lapp02.rno.apple.com (Oracle Communications Messaging Server 8.1.0.9.20210415 64bit (built Apr 15 2021)) id <0QZG00M009WDBN00@rn-mailsvcp-mmp-lapp02.rno.apple.com>; Tue, 14 Sep 2021 17:47:25 -0700 (PDT) X-Va-A: X-Va-T-CD: fbf76c96845af0e32e156b5cd91de891 X-Va-E-CD: ef376605ca1d8f7041e938a896e7b117 X-Va-R-CD: 134a5ce24489a32ea40a0524e3a94233 X-Va-CD: 0 X-Va-ID: d8b40931-5818-47c3-8c43-6ec6bc70e2c2 X-V-A: X-V-T-CD: fbf76c96845af0e32e156b5cd91de891 X-V-E-CD: ef376605ca1d8f7041e938a896e7b117 X-V-R-CD: 134a5ce24489a32ea40a0524e3a94233 X-V-CD: 0 X-V-ID: abe86c17-52e4-49af-a272-f22bf2433670 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391,18.0.790 definitions=2021-09-14_10:2021-09-14,2021-09-14 signatures=0 Received: from [17.235.45.109] (unknown [17.235.45.109]) by rn-mailsvcp-mmp-lapp02.rno.apple.com (Oracle Communications Messaging Server 8.1.0.9.20210415 64bit (built Apr 15 2021)) with ESMTPSA id <0QZG00CG0A6PC500@rn-mailsvcp-mmp-lapp02.rno.apple.com>; Tue, 14 Sep 2021 17:47:15 -0700 (PDT) From: "Andrew Fish" MIME-version: 1.0 (Mac OS X Mail 14.0 \(3654.20.0.2.1\)) Subject: Re: [edk2-devel] [PATCH 0/3] Add support for gdb and lldb Date: Tue, 14 Sep 2021 17:47:12 -0700 References: To: edk2-devel-groups-io , Rebecca Cran In-reply-to: Message-id: X-Mailer: Apple Mail (2.3654.20.0.2.1) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391,18.0.790 definitions=2021-09-14_10:2021-09-14,2021-09-14 signatures=0 Content-type: multipart/alternative; boundary="Apple-Mail=_CA470745-9A82-4EDF-90F9-EC43DFD9EB5E" --Apple-Mail=_CA470745-9A82-4EDF-90F9-EC43DFD9EB5E Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Sorry the patches stalled out. I need to push them=E2=80=A6. Thanks, Andrew Fish > On Sep 14, 2021, at 4:47 PM, Rebecca Cran wrote: >=20 > I was wondering what your plan for committing these to the repo is? It wo= uld be nice to get them committed so people can start using them. >=20 >=20 > --=20 > Rebecca Cran >=20 >=20 > On 8/8/21 3:46 PM, Andrew Fish via groups.io wrote: >> This patch set adds debugging support for gdb and lldb. >> It also adds generic debugging classes that use a file like object to >> make it easy to import into any debugger that supports Python. >>=20 >> Since these debugging scripts don't depend on any EFI code I was thinkin= g >> we could place them in the root of the repo to be easy to discover. >>=20 >> I've tested gdb on Ubuntu and lldb on macOS for IA32 and X64. >>=20 >> Andrew Fish (3): >> efi_debugging.py: - Add debugger agnostic debugging Python Classes >> efi_gdb.py: - Add gdb EFI commands and pretty Print >> efi_lldb.py: - Add lldb EFI commands and pretty Print >>=20 >> efi_debugging.py | 2187 ++++++++++++++++++++++++++++++++++++++++++++++ >> efi_gdb.py | 918 +++++++++++++++++++ >> efi_lldb.py | 1044 ++++++++++++++++++++++ >> 3 files changed, 4149 insertions(+) >> create mode 100755 efi_debugging.py >> create mode 100755 efi_gdb.py >> create mode 100755 efi_lldb.py >>=20 >=20 >=20 >=20 >=20 --Apple-Mail=_CA470745-9A82-4EDF-90F9-EC43DFD9EB5E Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 Sorry the patches stalled = out. I need to push them=E2=80=A6.

Thanks,

Andrew Fish

On Sep 14, 2021, at 4:47 PM, Rebecca Cran <rebecca@bsdio.com> wro= te:

I was wondering what your plan for committi= ng these to the repo is? It would be nice to get them committed so people c= an start using them.


-- 
Rebecca Cran


On 8/8/21 3:46 PM, Andrew Fish via groups.io wrote:
This patch set adds debugging support = for gdb and lldb.
It also adds generic debugging classes that= use a file like object to
make it easy to import into any de= bugger that supports Python.

Since these debug= ging scripts don't depend on any EFI code I was thinking
we c= ould place them in the root of the repo to be easy to discover.

I've tested gdb on Ubuntu and lldb on macOS for IA32 and = X64.

Andrew Fish (3):
 &nbs= p;efi_debugging.py: - Add debugger agnostic debugging Python Classes
  efi_gdb.py: - Add gdb EFI commands and pretty Print
  efi_lldb.py: - Add lldb EFI commands and pretty Prin= t

 efi_debugging.py | 2187 ++++++++++++++= ++++++++++++++++++++++++++++++++
 efi_gdb.py   = ;    |  918 +++++++++++++++++++
&nbs= p;efi_lldb.py      | 1044 ++++++++++++++++++++++ 3 files changed, 4149 insertions(+)
 = create mode 100755 efi_debugging.py
 create mode 100755 = efi_gdb.py
 create mode 100755 efi_lldb.py





--Apple-Mail=_CA470745-9A82-4EDF-90F9-EC43DFD9EB5E--