[Lldb-commits] [lldb] [LLDB][ProcessELFCore] Add Description to ProcessELFCore/ELFThread stop reasons (PR #110065)
Greg Clayton via lldb-commits
lldb-commits at lists.llvm.org
Mon Sep 30 09:48:19 PDT 2024
================
@@ -75,16 +75,25 @@ struct ELFLinuxPrStatus {
static_assert(sizeof(ELFLinuxPrStatus) == 112,
"sizeof ELFLinuxPrStatus is not correct!");
+union ELFSigval {
+ int sival_int;
+ void *sival_ptr;
+};
+
struct ELFLinuxSigInfo {
- int32_t si_signo;
- int32_t si_code;
+ int32_t si_signo; // Order matters for the first 3.
int32_t si_errno;
+ int32_t si_code;
+ void *addr; /* faulting insn/memory ref. */
----------------
clayborg wrote:
use `lldb::addr_t` as this debugger might be compiled for 32 bit architectures and we might debug a 64 bit target. Rename to `si_addr`?
https://github.com/llvm/llvm-project/pull/110065
More information about the lldb-commits
mailing list