Re: [PATCH v5 12/16] [gdb/generic] corefile/bug: Use thread-specific gdbarch when dumping register state to core files

Simon Marchi via Gdb-patches
2023-09-08T16:03:03Z

> Please remind me, does an AArch64 core file contain one target
> description per thread, to account for the fact that different threads
> could have different register layouts? Or right now we just hope that
> all threads use the same target description (which might be different
> from what the inferior started with)?
I think that the commit message on the following patch answers my
question: there isn't a full target desc for each thread, but using the
process-wide target desc plus by reading some bits from the SVE (and
eventually SME) state, you can derive on target desc per thread. That
sounds right?

Simon