Remove dwarf hack because Go fixed bug

This commit is contained in:
Derek Parker
2014-08-01 15:47:39 -05:00
parent 974d3d5bcd
commit 319f6d2e20
4 changed files with 4 additions and 7 deletions

View File

@ -84,7 +84,7 @@ func TestFindReturnAddress(t *testing.T) {
syscall.PtracePeekText(p.Pid, uintptr(addr), data)
addr = binary.LittleEndian.Uint64(data)
end := uint64(0x400dff)
end := uint64(0x400d9f)
if addr != end {
t.Fatalf("return address not found correctly, expected %#v got %#v", end, addr)
}