diff --git a/GetRuntimeAddresses/symbolyze/gdb_test.go b/GetRuntimeAddresses/symbolyze/gdb_test.go index 3c1f543..2724f4d 100644 --- a/GetRuntimeAddresses/symbolyze/gdb_test.go +++ b/GetRuntimeAddresses/symbolyze/gdb_test.go @@ -115,5 +115,6 @@ func extractOffsetWithGdb(pid int, t *testing.T) (offset uint64, err error) { } } - return 0, fmt.Errorf("Symbol not found with gdb") + return 0, fmt.Errorf("Symbol not found with gdb.\n" + + "Maybe /proc/sys/kernel/yama/ptrace_scope must be set to 0? Or try to run the test as root!") }