History log of /external/libunwind/src/ptrace/_UPT_access_mem.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
d1c383c5bb03420decf5cf789cf14ab144b0720d 10-Apr-2014 Christopher Ferris <cferris@google.com> Fix all warnings, and make warnings errors.

Change-Id: Ia2039922b55891551b1de0f0c281c266db6ee219
/external/libunwind/src/ptrace/_UPT_access_mem.c
34764fe4fa6bbacc9c6f9235bf0790cb917c4901 26-Feb-2014 Christopher Ferris <cferris@google.com> Fix mips memory reads.

Cast the first 32 bit read to an unsigned value to avoid sign extending the
value up to 64 bits.

Change-Id: Ib678f48acf91f382fd5d8bcbf2be7d5803aaf0b8
/external/libunwind/src/ptrace/_UPT_access_mem.c
6efcda4b51d0aab9709557a1ca2ac8dd92d4f0fe 12-Feb-2014 Christopher Ferris <cferris@google.com> Fix mips unwind.

On mips 32, ptrace returns a long but unw_word_t is 64 bits. Unfortunately,
the read code assumes that unw_word_t and long are the same, so most
of the returned values are incorrect.

I fixed it by doing two reads on mips to pull in all of the 64 bits. This
could be a slight performance degradation, but I don't think it matters
enough to try and fix.

Change-Id: Ied0fbf56e62fe2c933e468741f8c47df882f6e44
/external/libunwind/src/ptrace/_UPT_access_mem.c
3d6f7479b04b153f43bc9918a1bad25e3e8d2cd7 15-Sep-2012 Cody P Schafer <cody@linux.vnet.ibm.com> ptrace: check for NULL arg.

tdep_get_func_addr in ppc64 passes NULL for the last argument of
as->access_mem. tdep_get_func_addr is called by elf_w(lookup_symbol),
which in turn is called by elf_w(get_proc_name_in_image).

elf_w(get_proc_name_in_image) is part of the API, and is only passed an
unw_addr_space_t, not a unw_cursor_t, meaning that we cannot recover the
UPT_info on the PPC64 platform.

This could be fixed by giving libunwind the knowledge to perform
relocations itself, thus not needing to look at the running image to
determine function addresses.
/external/libunwind/src/ptrace/_UPT_access_mem.c
6f7b335e89e1b7f9c539fc0ebb3f789e34d0b7e4 10-Apr-2010 Konstantin Belousov <kostik@pooma.home> Add my copyrights to several files that contain essential modifications
/external/libunwind/src/ptrace/_UPT_access_mem.c
cf6ae3548f96fa90da32b96529897cb6257355c1 06-Mar-2010 Konstantin Belousov <kostik@pooma.home> Code to read/write user memory on FreeBSD
/external/libunwind/src/ptrace/_UPT_access_mem.c
84109794bd0786cbbec44dd13d7283cfa2652687 19-Feb-2004 mostang.com!davidm <mostang.com!davidm> (_UPT_access_mem): Fix typo in Debug() macro calls.

(Logical change 1.174)
/external/libunwind/src/ptrace/_UPT_access_mem.c
3152b04bb4d4962ee611a885be76d2443f478688 30-Jan-2004 hp.com!davidm <hp.com!davidm> Update.

2004/01/27 21:49:09-08:00 hp.com!davidm
Rename: src/_UPT_access_mem.c -> src/ptrace/_UPT_access_mem.c

(Logical change 1.162)
/external/libunwind/src/ptrace/_UPT_access_mem.c
b88369b8314dc8e8fe617184b07527fb34b66f22 30-Jan-2004 hp.com!davidm <hp.com!davidm> Initial revision
/external/libunwind/src/ptrace/_UPT_access_mem.c