https://bugzilla.redhat.com/show_bug.cgi?id=1192742
--- Comment #2 from Vincent Batts <vbatts(a)redhat.com> ---
so here is a comparison of your reproduction on latest stable (go1.4.2) and
master (c25c371 / go1.5-dev)
go version go1.4.2 linux/amd64
(gdb) b 8
Breakpoint 1 at 0x400c8e: /home/vbatts/bz1192742/bz1192742.go:8. (2 locations)
(gdb) r
Starting program: /home/vbatts/bz1192742/bz1192742
Breakpoint 1, main.main () at /home/vbatts/bz1192742/bz1192742.go:8
8 }()
(gdb) p i
No symbol "i" in current context.
(gdb) p &i
No symbol "i" in current context.
(gdb) p ' &i'
$1 = (int *) 0xc20800a080
(gdb) p *' &i'
$2 = 0
(gdb) p ' &ip'
$3 = (int **) 0xc20803c000
(gdb) p *' &ip'
$4 = (int *) 0xc20800a080
(gdb) p **' &ip'
$5 = 0
(gdb) p ' &ipp'
$6 = (int ***) 0xc20803c008
(gdb) p *' &ipp'
$7 = (int **) 0xc20803c000
(gdb) p **' &ipp'
$8 = (int *) 0xc20800a080
(gdb) p ***' &ipp'
$9 = 0
(gdb) whatis ' &i'
type = int *
(gdb) whatis ' &ip'
type = int **
(gdb) whatis ' &ipp'
type = int **
go version devel +c25c371 Thu Feb 19 17:00:30 2015 +0000 linux/amd64
(gdb) b 8
Breakpoint 1 at 0x400c66: /home/vbatts/bz1192742/bz1192742.go:8. (2 locations)
(gdb) r
Starting program: /home/vbatts/bz1192742/bz1192742
Breakpoint 1, main.main () at /home/vbatts/bz1192742/bz1192742.go:8
8 }()
(gdb) p i
No symbol "i" in current context.
(gdb) p &i
No symbol "i" in current context.
(gdb) p ' &i'
$1 = (int *) 0xc20800a080
(gdb) p *' &i'
$2 = 0
(gdb) p ' &ip'
$3 = (int **) 0xc20801e008
(gdb) p *' &ip'
$4 = (int *) 0xc20800a080
(gdb) p **' &ip'
$5 = 0
(gdb) p ' &ipp'
No symbol " &ipp" in current context.
(gdb) p *' &ipp'
No symbol " &ipp" in current context.
(gdb) p **' &ipp'
No symbol " &ipp" in current context.
(gdb) p ***' &ipp'
No symbol " &ipp" in current context.
(gdb) whatis ' &i'
type = int *
(gdb) whatis ' &ip'
type = int **
(gdb) whatis ' &ipp'
No symbol " &ipp" in current context.
--
You are receiving this mail because:
You are on the CC list for the bug.