[edk2-devel] [PATCH 0/3] Add support for gdb and lldb
Rebecca Cran
rebecca at nuviainc.com
Wed Aug 11 22:11:58 UTC 2021
I realized the Arm gcc 10.3 aarch64 download from
https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-a/downloads
uses Python 2.7.18 and not Python 3, so the f-Strings and likely more
cause problems. I suspect at this point there's little point putting
effort into supporting Python 2.
I noticed a couple of issues though: in efi_debugging.py the Attributes
text is partially underlined with the non-ASCII characters '——————'
instead of '----------'.
Attributes
——————----
_dict_ : dictionay
There are also a couple of typos of 'dictionary':
_dict_ : dictionay
--
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 debugger that supports Python.
>
> Since these debugging scripts don't depend on any EFI code I was thinking
> we could 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):
> 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
>
> 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
>
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#79117): https://edk2.groups.io/g/devel/message/79117
Mute This Topic: https://groups.io/mt/84756249/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-
More information about the edk2-devel-archive
mailing list