summaryrefslogtreecommitdiff
path: root/src/cmd/8g/gg.h
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2009-08-13 15:45:58 -0700
committerRuss Cox <rsc@golang.org>2009-08-13 15:45:58 -0700
commit7bf883194828c49c977fc245cb6dc8b78bc241a1 (patch)
tree55a621d8d76ba524d3653c5511862df568153a87 /src/cmd/8g/gg.h
parentd339d6091bb6cd6faace5168fbe4e2f84ad811f1 (diff)
downloadgo-7bf883194828c49c977fc245cb6dc8b78bc241a1.tar.gz
debugging symbols for 8g.
backtraces don't work, but they didn't work when i started either. R=ken OCL=33230 CL=33230
Diffstat (limited to 'src/cmd/8g/gg.h')
-rw-r--r--src/cmd/8g/gg.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cmd/8g/gg.h b/src/cmd/8g/gg.h
index ae70490c1..a3f090009 100644
--- a/src/cmd/8g/gg.h
+++ b/src/cmd/8g/gg.h
@@ -28,6 +28,7 @@ struct Addr
uchar index;
uchar etype;
uchar scale; /* doubles as width in DATA op */
+ Sym* gotype;
};
#define A ((Addr*)0)
@@ -167,5 +168,5 @@ int Rconv(Fmt*);
int Yconv(Fmt*);
void listinit(void);
-void zaddr(Biobuf*, Addr*, int);
+void zaddr(Biobuf*, Addr*, int, int);