gocore: add in mpratt's feedback and remove delve dependency

This change integrates some feedback from mpratt in CL 635227 that came
in after it landed. It also removes the dependency on delve, since this
is definitely reaching into internal packages that are not intended to
be used by outsiders. Instead, we just copy over what we need. This is
safe to copy over because it's largely about immutable formats and
functionality: hardware register names and DWARF 2.

Change-Id: I5aa8cb9a56b464c0cdb45baf4ea8423989d0afbe
Reviewed-on: https://go-review.googlesource.com/c/debug/+/635281
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
Auto-Submit: Michael Knyszek <mknyszek@google.com>
24 files changed
tree: 786082240098805e82ccfe1b781e53be55f0d2f3
  1. cmd/
  2. dwtest/
  3. internal/
  4. third_party/
  5. codereview.cfg
  6. CONTRIBUTING.md
  7. go.mod
  8. go.sum
  9. LICENSE
  10. README.md
README.md

Go Debug

Go Reference

This repository holds utilities and libraries for debugging Go programs.

WARNING! Please expect breaking changes and unstable APIs. Most of them are currently are at an early, experimental stage.

Report Issues / Send Patches

This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://go.dev/doc/contribute.

The git repository is https://go.googlesource.com/debug.

The main issue tracker for the debug repository is located at https://go.dev/issues. Prefix your issue with “x/debug:” in the subject line, so it is easy to find.