proc: fix runtime type handling for Go 1.21 (#3370)

Go 1.21 renamed runtime._type to internal/abi.Type and changed the name
of its fields. Update Delve so that it uses the new names for loading
interfaces and generic type parameters.
This commit is contained in:
Alessandro Arzilli
2023-05-15 19:21:52 +02:00
committed by GitHub
parent e95ae9c21b
commit 674bd63996
7 changed files with 59 additions and 31 deletions

View File

@ -15,7 +15,7 @@ type bmap struct {
}
type eface struct {
_type *_type
_type *_type|*internal/abi.Type
data unsafe.Pointer
}
@ -50,7 +50,7 @@ type iface struct {
}
type itab struct {
_type *_type
_type *_type|*internal/abi.Type
}
type moduledata struct {