]> Cypherpunks.ru repositories - gostls13.git/commit
runtime: support for debugger function calls on linux/ppc64le
authorArchana <aravinda@redhat.com>
Mon, 24 Jul 2023 14:47:02 +0000 (20:17 +0530)
committerLynn Boger <laboger@linux.vnet.ibm.com>
Fri, 8 Sep 2023 15:08:04 +0000 (15:08 +0000)
commitb0ae440bf05cd19f5a6a111317c0ae553c9298be
tree79f89967cdc9c71723c4b89ec5c996c771f9a96d
parent2f0b28da1900909a2c3ddf646bb508fc7effb8f2
runtime: support for debugger function calls on linux/ppc64le

This CL adds support for debugger function calls on linux ppc64le
platform. The protocol is basically the same as in CL 395754, except for
the following differences:
1, The abi differences which affect parameter passing and frame layout.
2, The closure register is R11.
3, Minimum framesize on pp64le is 32 bytes
4, Added functions to return parent context structure for general purpose
   registers in order to work with the way these structures are defined in
   ppc64le

Change-Id: I58e01fedad66a818ab322e2b2d8f5104cfa64f39
Reviewed-on: https://go-review.googlesource.com/c/go/+/512575
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
Reviewed-by: Lynn Boger <laboger@linux.vnet.ibm.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Run-TryBot: Archana Ravindar <aravinda@redhat.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/runtime/asm_ppc64x.s
src/runtime/debug_test.go
src/runtime/debugcall.go
src/runtime/export_debug_ppc64le_test.go [new file with mode: 0644]
src/runtime/export_debug_test.go
src/runtime/signal_linux_ppc64x.go
src/runtime/signal_ppc64x.go