From f8e9bbe475f014aab614000bde498961149539c5 Mon Sep 17 00:00:00 2001 From: Wei Guangjing Date: Tue, 31 Jan 2012 10:32:24 -0500 Subject: [PATCH] cmd/ld: fix gdbscript R=golang-dev, lvd CC=golang-dev https://golang.org/cl/5601058 --- src/cmd/ld/dwarf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cmd/ld/dwarf.c b/src/cmd/ld/dwarf.c index d0ecabf8acd..dfd8797ae35 100644 --- a/src/cmd/ld/dwarf.c +++ b/src/cmd/ld/dwarf.c @@ -1601,7 +1601,7 @@ finddebugruntimepath(void) char *c; for (i = 1; i < histfilesize; i++) { - if ((c = strstr(histfile[i], "runtime/runtime_defs.go")) != nil) { + if ((c = strstr(histfile[i], "runtime/zruntime_defs")) != nil) { l = c - histfile[i]; memmove(gdbscript, histfile[i], l); memmove(gdbscript + l, "runtime/runtime-gdb.py", strlen("runtime/runtime-gdb.py") + 1);