]> Cypherpunks repositories - gostls13.git/commitdiff
6l,8l: fix gdb crash.
authorLuuk van Dijk <lvd@golang.org>
Tue, 8 Mar 2011 17:28:42 +0000 (18:28 +0100)
committerLuuk van Dijk <lvd@golang.org>
Tue, 8 Mar 2011 17:28:42 +0000 (18:28 +0100)
DWARF function types no longer need to be pointer-ified explicitly.
Fixes #1579.

R=rsc, lvd1
CC=golang-dev
https://golang.org/cl/4247065

src/cmd/ld/dwarf.c

index 5ba4b7c643c6cd1d3d5ebbaa7697364f7236651e..f7c8e3834105411b3a82e8d8ffd527de22e4a001 100644 (file)
@@ -1117,7 +1117,6 @@ defgotype(Sym *gotype)
                        fld = newdie(die, DW_ABRV_FUNCTYPEPARAM, s->name+5);
                        newrefattr(fld, DW_AT_type, defptrto(defgotype(s)));
                }
-               die = defptrto(die);
                break;
 
        case KindInterface: