Skip to content

cgo: GDB can't debug the program within cgo code. #5711

@gopherbot

Description

@gopherbot

by huangmipi:

If the program include any cgo code, then it cant debug by GDB, every variable's value
print is wrong, look like memory address is be offset.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions