diff --git a/GetRuntimeAddresses/symbolyze/gdb_test.go b/GetRuntimeAddresses/symbolyze/gdb_test.go index bf0fe72..b6cd373 100644 --- a/GetRuntimeAddresses/symbolyze/gdb_test.go +++ b/GetRuntimeAddresses/symbolyze/gdb_test.go @@ -75,7 +75,9 @@ func TestSimpleGDB(t *testing.T) { if off2, ok := ourResults[pid]; !ok { t.Fatalf("Scanner has no offset for pid %d", pid) } else if off != off2 { - t.Fatalf("Scanner has found offset %d while gdb has found offset %d for pid %d", off2, off, pid) + t.Fatalf("Scanner has found offset %x while gdb has found offset %x for pid %d", off2, off, pid) + } else { + t.Logf("Scanner and gdb agree: pid %d at offset %x", pid, off) } } }