summaryrefslogtreecommitdiff
path: root/libbacktrace/fileline.c
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright years.jakub2015-01-051-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@219188 138bc75d-0d04-0410-961f-82ee72b054a4
* Update copyright years in libbacktrace/rsandifo2014-01-021-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206292 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.ac: Check for support of __atomic extensions.ian2013-11-191-27/+13
| | | | | | | | | | | | | | | | * internal.h: Declare or #define atomic functions for use in backtrace code. * atomic.c: New file. * dwarf.c (dwarf_lookup_pc): Use atomic functions. (dwarf_fileline, backtrace_dwarf_add): Likewise. * elf.c (elf_add_syminfo_data, elf_syminfo): Likewise. (backtrace_initialize): Likewise. * fileline.c (fileline_initialize): Likewise. * Makefile.am (libbacktrace_la_SOURCES): Add atomic.c. * configure, config.h.in, Makefile.in: Rebuild. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204994 138bc75d-0d04-0410-961f-82ee72b054a4
* Update copyright years in libbacktrace.rsandifo2013-01-141-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@195165 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.ac: Check for getexecname.ian2012-11-121-5/+58
| | | | | | | | | | | | | * fileline.c: #include <errno.h>. Define getexecname if not available. (fileline_initialize): Try to find the executable in a few different ways. * print.c (error_callback): Only print the filename if it came from the backtrace state. * configure, config.h.in: Rebuild. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193454 138bc75d-0d04-0410-961f-82ee72b054a4
* PR other/55087ian2012-10-261-2/+2
| | | | | | | | | | | | * posix.c (backtrace_open): Add does_not_exist parameter. * elf.c (phdr_callback): Do not warn if shared library could not be opened. * fileline.c (fileline_initialize): Update calls to backtrace_open. * internal.h (backtrace_open): Update declaration. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@192861 138bc75d-0d04-0410-961f-82ee72b054a4
* PR other/54749ian2012-09-291-1/+1
| | | | | | | | | * fileline.c (fileline_initialize): Pass errnum as -1 when reporting that we could not read executable information after a previous failure. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191855 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix libbacktrace bootstrap with gcc 4.4ro2012-09-181-0/+1
| | | | | | | * fileline.c: Include <stdlib.h>. * mmap.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191414 138bc75d-0d04-0410-961f-82ee72b054a4
* libbacktrace/:ian2012-09-171-0/+154
* Initial implementation. ./: * MAINTAINERS (Various Maintainers): Add libbacktrace. * configure.ac (host_libs): Add libbacktrace. (target_libraries): Add libbacktrace. * Makefile.def (host_modules): Add libbacktrace. (target_modules): Likewise. * configure, Makefile.in: Rebuild. gcc/go: * config-lang.in (target_libs): Add target-libbacktrace. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191397 138bc75d-0d04-0410-961f-82ee72b054a4