target/ppc/arch_dump: set prstatus pid to cpuid
authorOmar Sandoval <osandov@osandov.com>
Fri, 19 Jul 2024 18:39:05 +0000 (11:39 -0700)
committerNicholas Piggin <npiggin@gmail.com>
Thu, 25 Jul 2024 23:21:06 +0000 (09:21 +1000)
commit2587a57dbb50257f296b5f28b889e54d0b64c394
tree630bd18d5dbdf445edd986519c2914e91fcf160d
parentcfb52d07f53aa916003d43f69c945c2b42bc6374
target/ppc/arch_dump: set prstatus pid to cpuid

Every other architecture does this, and debuggers need it to be able to
identify which prstatus note corresponds to which CPU.

Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Harsh Prateek Bora <harshpb@linux.ibm.com>
Signed-off-by: Omar Sandoval <osandov@osandov.com>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
target/ppc/arch_dump.c