• Home
  • History
  • Annotate
  • only in /external/libunwind/src/coredump/
History log of /external/libunwind/src/coredump/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
af23f0a04b9f58f05e2a6567fb619002b993950d 23-Aug-2013 Luca Clementi <luca.clementi@gmail.com> Add Cflags keyword to pkg-config metadata files

pkg-config metadata template files are missing Cflags keyword
which is required to properly compile against libunwind using
PKG_* autoconf macros

Acked-by: Mike Frysinger <vapier@gentoo.org>
ibunwind-coredump.pc.in
ac6c0a6535975f1dc2da6e4e2766614baac2a14a 11-May-2013 Yvan Roux <yvan.roux@linaro.org> [PATCH] AArch64 port.
UCD_access_reg_linux.c
8d5b1aeeffb80515197fd7aeee0b3fbfac904ecd 16-Aug-2012 Tommi Rantala <tt.rantala@gmail.com> SuperH port

Add support for the 32bit SuperH architecture running Linux.
Specifically, support is added for SH4, and support for earlier SH
versions and to the 64bit SH5 are left out. This was tested in qemu with
a little-endian SH4 debian image & GCC 4.7 cross compiler.
UCD_access_reg_linux.c
79c2c254a74ca850aefe2c49b973dea1fa2934c2 06-Sep-2012 Tommi Rantala <tt.rantala@gmail.com> MIPS coredump support

Add MIPS support to the coredump library. Explicit support for the MIPS
program counter register is added so that we can start backtracing from
the program counter value we read from a core dump. The PC register
support was not strictly required for local backtracing, and we will in
fact just plug the return address to the PC register in getcontext().

I have only tested the 32bit "OABI" paths.
UCD_access_reg_linux.c
e4b24be9c2008411eaee3e6eff18964d8f91c7b5 22-Sep-2012 Arun Sharma <asharma@fb.com> pkg-config file fixups

Suggested-by: Alexander Toresson <alexander.toresson@gmail.com>
ibunwind-coredump.pc.in
ea5e90fd9f6ef9840c71b8c4a304793547263de3 15-Sep-2012 Alexander Toresson <alexander.toresson@gmail.com> Create and install pkg-config .pc files

[Edit: renamed to libunwind-generic.pc and some .pc files
created only when needed -- asharma@fb.com]
ibunwind-coredump.pc.in
58db35ecebec318cf3da185f7f820e6a14d9525f 09-Sep-2012 Arun Sharma <asharma@fb.com> Silence a compiler error.
UCD_access_mem.c
c2f7574187cfbb36dbcdc85bc61a027a4025f394 04-Sep-2012 Tommi Rantala <tt.rantala@gmail.com> Rename and share `ALIGN' macro from _UCD_internal.h

Rename the `ALIGN' macro to `UNW_ALIGN', and move it from
`_UCD_internal.h' to `libunwind_i.h' so that we can share it with the
mempool code. `ALIGN' was clashing with system headers on FreeBSD:

In file included from src/coredump/_UCD_access_reg_freebsd.c:26:
src/coredump/_UCD_internal.h:102:1: warning: "ALIGN" redefined
In file included from /usr/include/sys/param.h:115,
from src/coredump/_UCD_lib.h:52,
from src/coredump/_UCD_access_reg_freebsd.c:24:
/usr/include/machine/param.h:79:1: warning: this is the location of the previous definition
UCD_create.c
UCD_internal.h
21ad2c19ea575b4485121e9f824609fe6e4f3be9 15-Aug-2012 Tommi Rantala <tt.rantala@gmail.com> Implement _UCD_access_reg() for ARM

Implement the Linux version of _UCD_access_reg() for ARM. We can
sidestep the register number remapping, as the libunwind register
numbers match one-to-one to the ELF core file register numbers.
UCD_access_reg_linux.c
7e5cab6dacfaead42c483ba9cb2dc202bde703b5 15-Aug-2012 Tommi Rantala <tt.rantala@gmail.com> Add missing newline to debug message in _UCD_access_reg_linux.c
UCD_access_reg_linux.c
e61c6f69c30d85584ece5250b8b82b03898384f5 15-Aug-2012 Tommi Rantala <tt.rantala@gmail.com> Fix function name duplication in Debug() output

Fix function name duplication in Debug() output that was caused by
manually prepending the debug message with the function name.
UCD_access_mem.c
UCD_access_reg_freebsd.c
UCD_access_reg_linux.c
UCD_find_proc_info.c
UCD_get_proc_name.c
2d750952a5849356eb1c1c42f9e33a4546fc0cd5 07-Aug-2012 Tommi Rantala <tt.rantala@gmail.com> Use constants for ELF magic bytes in _UCD_create.c
UCD_create.c
5d36914c9beb7630aa2059c1c723dd217ccf3e76 31-Jul-2012 Tommi Rantala <tt.rantala@gmail.com> IA64: use tdep_find_unwind_table() in coredump lib

Fixup commit d93d96ad833390519ea68a2df22dd55dd26a3214 ("Fix compilation
on IA64"), and replace the dwarf_find_unwind_table() call with
tdep_find_unwind_table().

Fixes linkage error on IA64:
../src/.libs/libunwind-coredump.so: undefined reference to `dwarf_find_unwind_table'
UCD_find_proc_info.c
UPT_get_dyn_info_list_addr.c
bc056ffc9fc47103c04db7fd3bb03c39b2bf1766 27-Mar-2012 Arun Sharma <asharma@fb.com> coredump: update license to be the same as rest of libunwind

Per Denys Vlasenko <dvlasenk@redhat.com>:

Sure. It's a trivial file, I don't mind if you use
whatever license you like on it :)
UCD_lib.h
edcc521a0e94bb198aa3197f1620c40f640334c1 26-Mar-2012 Alexander Larsson <alexl@redhat.com> Add helper macros for pointer arithmetics

ALIGN lets you align pointers and STRUCT_MEMBER lets you get
structure members at a specific offset.

These are useful in general, and will be needed for the coredump notes
cleanup work.
UCD_internal.h
b1393b7e638fbed2d21a207f813c9fd021ec1242 26-Mar-2012 Alexander Larsson <alexl@redhat.com> Clean up the elf notes handling in the coredump code

We centralize the elf notes handling code in some macros, thus
simplifying the loops over the notes and avoiding code duplication.
UCD_create.c
0628a9872ca4ca5a93b3671e21f099a81e21c07a 24-Mar-2012 Arun Sharma <asharma@fb.com> Whitespace cleanup
UCD_create.c
0c0ea23cf2ea57c168ef20956a4c4183efa13d0d 23-Mar-2012 Alexander Larsson <alexl@redhat.com> Add support for multiple threads in core files

_UCD_select_thread() lets you select the active thread from
the core file and _UCD_get_num_threads() tells you how many there are.
UCD_create.c
UCD_internal.h
d62748178383a1869b3e6c1f102cfd2e30c55371 23-Mar-2012 Alexander Larsson <alexl@redhat.com> Break out the ifdefs for the UCD_info.prstatus type

This cleans up the code a bit and makes it easier to refer to
the prstatus type in other places.
UCD_internal.h
b9ff650a2286978e0901cab2c5735482bfc45b7b 23-Mar-2012 Alexander Larsson <alexl@redhat.com> Add _UCD_get_pid and _UCD_get_cursig

These let you get the pid and the current signal from the coredump.

This isn't strictly unwind related, but these are trivial to implement
as we have the info, and you almost always want these when you're
printing a backtrace from a core file.
UCD_create.c
adbeb79155e703101eaf747f30e101788cfa7004 23-Mar-2012 Alexander Larsson <alexl@redhat.com> Fix build with --enable-debug

This just fixes a typo
UCD_access_reg_linux.c
cc7c74e691032b8c694d673dc1530c26ce801736 13-Mar-2012 Kostik Belousov <kostik@sirion> On FreeBSD, the structure is called prstatus.
UCD_internal.h
dc9be1a97a7712b36533a9c362ecc3e6492fbc9b 13-Mar-2012 Kostik Belousov <kostik@sirion> Implement register read for FreeBSD coredumps.
Rename _UCD_access_reg.c to _UCD_access_reg_linux.c, to have
per-OS coredump register reader.
UCD_access_reg.c
UCD_access_reg_freebsd.c
UCD_access_reg_linux.c
1e6959a769fefbed6c9eb5d54d71cf5c02d962ed 13-Mar-2012 Kostik Belousov <kostik@sirion> Shut down compiler warning about format mismatch.
UCD_create.c
e8eb5834505cb2ef5b7afbf44eead1bdbdb644ae 13-Mar-2012 Kostik Belousov <kostik@sirion> Handle byteswap.h and endian.h inclusion.
UCD_create.c
f0bb806ecbbdc62f0e59716221212d75cc78e9f8 13-Mar-2012 Arun Sharma <asharma@fb.com> Move the test case to tests dir.
xample-core-unwind.c
0f17b521716c8492f08f8671fd847fd3c26f8175 16-Feb-2012 Arun Sharma <asharma@fb.com> Fixup regnames on x64
UCD_access_reg.c
b08ae72d6c041c2c9d72d049f815d001032169ca 13-Mar-2012 Arun Sharma <asharma@fb.com> Add support for unwinding coredump images

Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
EADME
UCD_access_mem.c
UCD_access_reg.c
UCD_accessors.c
UCD_create.c
UCD_destroy.c
UCD_elf_map_image.c
UCD_find_proc_info.c
UCD_get_proc_name.c
UCD_internal.h
UCD_lib.h
UPT_access_fpreg.c
UPT_elf.c
UPT_get_dyn_info_list_addr.c
UPT_put_unwind_info.c
UPT_resume.c
xample-core-unwind.c