Skip to content
  • Derek Parker's avatar
    pkg/proc: enable basic debug functionality for stripped ELF binaries (#3408) · ccf17a6f
    Derek Parker authored
    We used to parse the .gopclntab section but removed support in favor of
    simply using DWARF debug information, due to lack of C symbols among
    other reasons. This makes it impossible to debug stripped binaries,
    which some distrubutions ship by default.
    
    Add back in basic support for .gopclntab which survives if the binary
    is stripped, allowing for rudimentary debugging such as basic
    program navigation, tracing, etc...
    ccf17a6f