• Jan Kratochvil's avatar
    gdb: fix "gdb.error: No struct named reflect.rtype." · 02d80b9e
    Jan Kratochvil authored
    With a trivial Golang-built program loaded in gdb-7.8.90.20150214-7.fc23.x86_64
    I get this error:
    
    (gdb) source ./src/runtime/runtime-gdb.py
    Loading Go Runtime support.
    Traceback (most recent call last):
      File "./src/runtime/runtime-gdb.py", line 230, in <module>
        _rctp_type = gdb.lookup_type("struct reflect.rtype").pointer()
    gdb.error: No struct type named reflect.rtype.
    (gdb) q
    
    No matter if this struct should or should not be in every Golang-built binary
    this change should fix that with no disadvantages.
    
    Change-Id: I0c490d3c9bbe93c65a2183b41bfbdc0c0f405bd1
    Reviewed-on: https://go-review.googlesource.com/5521Reviewed-by: 's avatarIan Lance Taylor <iant@golang.org>
    02d80b9e
Name
Last commit
Last update
api Loading commit data...
doc Loading commit data...
include Loading commit data...
lib/time Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README.md Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...