On Friday 27 April 2012 06:51:26 Will Deacon wrote: > When debugging a uclinux target, it is necessary to retrieve the text > and data offsets of the running program in order for symbol resolution > to work correctly. > > This patch pulls in definitions for PT_{TEXT,DATA,TEXT_END}_ADDR from > the kernel's exported ptrace header, which can be issued as `magic' > addresses to the PTRACE_PEEKUSER request in order to retrieve the child > offsets. For those architectures currently providing their own inline > definitions, the existing code is used as a fallback if the header > doesn't provide any overrides. Acked-by: Mike Frysinger -mike