From da423122685446a25c1e639ceb2b7f7320ea2745 Mon Sep 17 00:00:00 2001 From: Luuk van Dijk Date: Tue, 8 Mar 2011 18:28:42 +0100 Subject: [PATCH] 6l,8l: fix gdb crash. 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 | 1 - 1 file changed, 1 deletion(-) diff --git a/src/cmd/ld/dwarf.c b/src/cmd/ld/dwarf.c index 5ba4b7c643..f7c8e38341 100644 --- a/src/cmd/ld/dwarf.c +++ b/src/cmd/ld/dwarf.c @@ -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: