From: "Rebecca Cran" <rebecca@nuviainc.com>
To: Andrew Fish <afish@apple.com>
Cc: devel@edk2.groups.io
Subject: Re: [edk2-devel] [PATCH 0/3] Add support for gdb and lldb
Date: Thu, 12 Aug 2021 23:09:27 -0600 [thread overview]
Message-ID: <d16215cd-5e26-1306-9423-3c73254d0654@nuviainc.com> (raw)
In-Reply-To: <866F84D5-4129-4578-84EF-188A25592CCC@apple.com>
On 8/12/21 4:56 PM, Andrew Fish wrote:
> Can you try again? I think I fixed this? The `efi symbols` command is saving user context, so it can restore the context. If there is not a valid target it can fail.
On X64 running OVMF 'source efi_gdb.py' lists lots of DLLs and finished
with the backtrace.
On AARCH64 running SBSA-REF, I get similar output except where the
backtrace at the end of 'source efi_gdb.py' output should be I get the
following output:
AArch64`/home/bcran/src/upstream/uefi/Build/SbsaQemu/DEBUG_GCC5/AARCH64/MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe/DEBUG/UsbKbDxe.dll
load = 0x101fb87d000
AArch64`/home/bcran/src/upstream/uefi/Build/SbsaQemu/DEBUG_GCC5/AARCH64/MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe/DEBUG/UsbMassStorageDxe.dll
load = 0x101fb874000
AArch64`/home/bcran/src/upstream/uefi/Build/SbsaQemu/DEBUG_GCC5/AARCH64/MdeModulePkg/Application/UiApp/UiApp/DEBUG/UiApp.dll
load = 0x101f851a000 is already loaded
Traceback (most recent call last):
File "efi_gdb.py", line 828, in invoke
self.restore_user_state()
File "efi_gdb.py", line 711, in restore_user_state
self.user_selected_frame.select()
gdb.error: Frame is invalid.
However, I can run 'bt' and get what looks like a good stack trace.
With the latest code on your private branch, I still see non-ASCII
characters that look out of place. e.g. In efi_debugging.py line 627,
"Attributes" is underlined with a mixture of hyphen types.
--
Rebecca Cran
next prev parent reply other threads:[~2021-08-13 5:41 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-08 21:46 [PATCH 0/3] Add support for gdb and lldb Andrew Fish
2021-08-08 21:46 ` [PATCH 1/3] efi_debugging.py: - Add debugger agnostic debugging Python Classes Andrew Fish
2021-08-08 21:46 ` [PATCH 2/3] efi_gdb.py: - Add gdb EFI commands and pretty Print Andrew Fish
2021-08-08 21:46 ` [PATCH 3/3] efi_lldb.py: - Add lldb " Andrew Fish
2021-08-11 22:11 ` [edk2-devel] [PATCH 0/3] Add support for gdb and lldb Rebecca Cran
2021-08-11 23:22 ` Andrew Fish
2021-08-12 0:30 ` Rebecca Cran
2021-08-12 22:56 ` Andrew Fish
2021-08-13 5:09 ` Rebecca Cran [this message]
2021-09-14 23:47 ` Rebecca Cran
2021-09-15 0:47 ` Andrew Fish
2021-10-23 2:07 ` Rebecca Cran
2021-12-13 21:59 ` Rebecca Cran
[not found] ` <16C06F6B056C6852.12686@groups.io>
2022-01-07 2:42 ` Rebecca Cran
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=d16215cd-5e26-1306-9423-3c73254d0654@nuviainc.com \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox