This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
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 <vapier@gentoo.org> -mike
Attachment:
signature.asc
Description: This is a digitally signed message part.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |