Skip to content

gdb: No struct type named runtime.rtype #9326

@andredasilvapinto

Description

@andredasilvapinto

I'm having an error while trying to manually load runtime-gdb.py on GDB.

go1.4 linux/amd64
gdb 7.8
Ubuntu 14.04.1 LTS

gdb ./collect-jmx.test -d $GOROOT
...
(gdb) source /usr/local/go/src/runtime/runtime-gdb.py 
Loading Go Runtime support.
Traceback (most recent call last):
  File "/usr/local/go/src/runtime/runtime-gdb.py", line 205, in <module>
    _rctp_type = gdb.lookup_type("struct runtime.rtype").pointer()
gdb.error: No struct type named runtime.rtype.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions