> I am trying to get the call trace of a process by tracing the return
> addresses on the stack. To get the correct location of the return
> address I need to know whether the kernel is being compiled with
> frame pointer because this will affect the offset of return address
> on the stack.
Of course. But when your kernel was compiling, did you notice the
`gcc` options as the files flew by? `-fomit-frame-pointer` is standard
on i386 and perhaps other arch's. It means what it says, and AFAIK
the kernel doesn't have frame-pointers available for debugging.
But when you say "process", that sounds like userland. Then it
would depend on whether you compiled with `-fomit-frame-pointer`
or not.
-- Robert
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/