1. 31 Jan, 2013 1 commit
  2. 25 Jan, 2013 1 commit
  3. 17 Jan, 2013 1 commit
  4. 14 Jan, 2013 1 commit
  5. 20 Nov, 2012 1 commit
  6. 10 Oct, 2012 1 commit
  7. 09 Oct, 2012 1 commit
    • Add support for tracing through shared libraries. · e561a992
      	* configure.ac: Check for link.h and dl_iterate_phdr.
      	* elf.c: #include <link.h> if system has dl_iterate_phdr.  #undef
      	ELF macros before #defining them.
      	(dl_phdr_info, dl_iterate_phdr): Define if system does not have
      	dl_iterate_phdr.
      	(struct elf_syminfo_data): Add next field.
      	(elf_initialize_syminfo): Initialize next field.
      	(elf_add_syminfo_data): New static function.
      	(elf_add): New static function, broken out of
      	backtrace_initialize.  Call backtrace_dwarf_add instead of
      	backtrace_dwarf_initialize.
      	(struct phdr_data): Define.
      	(phdr_callback): New static function.
      	(backtrace_initialize): Call elf_add.
      	* dwarf.c (struct dwarf_data): Add next and base_address fields.
      	(add_unit_addr): Add base_address parameter.  Change all callers.
      	(add_unit_ranges, build_address_map): Likewise.
      	(add_line): Add ddata parameter.  Change all callers.
      	(read_line_program, add_function_range): Likewise.
      	(dwarf_lookup_pc): New static function, broken out of
      	dwarf_fileline.
      	(dwarf_fileline): Call dwarf_lookup_pc.
      	(build_dwarf_data): New static function.
      	(backtrace_dwarf_add): New function.
      	(backtrace_dwarf_initialize): Remove.
      	* internal.h (backtrace_dwarf_initialize): Don't declare.
      	(backtrace_dwarf_add): Declare.
      	* configure, config.h.in: Rebuild.
      
      From-SVN: r192267
      Ian Lance Taylor committed
  8. 04 Oct, 2012 1 commit
  9. 03 Oct, 2012 1 commit
  10. 19 Sep, 2012 1 commit
    • configure.ac (GCC_HEADER_STDINT): Invoke. · 76850556
              * configure.ac (GCC_HEADER_STDINT): Invoke.
              * backtrace.h: If we can't find <stdint.h>, use "gstdint.h".
              * btest.c: Don't include <stdint.h>.
              * dwarf.c: Likewise.
              * configure, aclocal.m4, Makefile.in, config.h.in: Rebuild.
      
      Co-Authored-By: Ian Lance Taylor <iant@google.com>
      
      From-SVN: r191474
      Rainer Orth committed
  11. 18 Sep, 2012 2 commits
  12. 17 Sep, 2012 1 commit
    • libbacktrace/: · eff02e4f
      	* 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.
      
      From-SVN: r191397
      Ian Lance Taylor committed