1. 05 Oct, 2017 2 commits
    • Austin Clements's avatar
      runtime: normalize (*sigctxt).fault() type · 56462d0f
      Austin Clements authored
      (*sigctxt).fault() currently returns either uintptr, uint32, or uint64
      depending on the platform. Make them all return uintptr.
      
      For #10958 (but a nice change on its own).
      
      Change-Id: I7813e779d0edcba112dd47fda776f4ce6e50e227
      Reviewed-on: https://go-review.googlesource.com/68015
      Run-TryBot: Austin Clements <austin@google.com>
      TryBot-Result: Gobot Gobot <gobot@golang.org>
      Reviewed-by: default avatarDavid Chase <drchase@google.com>
      56462d0f
    • Austin Clements's avatar
      cmd/link: sniff runtime-gdb.py path from runtime/proc.go · ba42b3ff
      Austin Clements authored
      Currently the linker figures out where runtime-gdb.py should be by
      looking for the path to runtime/debug.go. However, debug.go contains
      only a few symbols and can easily get dead-code eliminated entirely,
      especially from simple binaries. When this happens, the resulting
      binary lacks a reference to runtime-gdb.py, so the GDB helpers don't
      get loaded.
      
      Fix this by instead sniffing for runtime/proc.go. This contains
      runtime.main and the scheduler, so it's not going anywhere.
      
      Change-Id: Ie3380c77c840d28614fada68b8c5861625f2aff5
      Reviewed-on: https://go-review.googlesource.com/68019
      Run-TryBot: Austin Clements <austin@google.com>
      TryBot-Result: Gobot Gobot <gobot@golang.org>
      Reviewed-by: default avatarAlex Brainman <alex.brainman@gmail.com>
      ba42b3ff
  2. 04 Oct, 2017 18 commits
  3. 03 Oct, 2017 20 commits