Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Dec 21, 2012
  1. @kosaki

    * vm_dump.c (rb_vm_bugreport): revert r38533.

    kosaki authored
    * addr2line.c (fill_lines): add ELF sanity check.
      [Bug #7597] [ruby-dev:46786]
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38543 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Nov 9, 2012
  1. @knu

    Fix build when gcc is used and the platform's libc lacks alloca().

    knu authored
    * include/ruby/ruby.h (alloca), eval_intern.h (alloca), gc.c
      (alloca): Make alloca() globally available by moving the
      ultimate ifdef's to ruby/ruby.h.  Gcc hides its builtin alloca()
      when compiling with -ansi, and linking thus fails on platforms
      that lack their own alloca() implementation in libc, which
      include OpenBSD and some ports of NetBSD.  We use alloca()
      everywhere including from within third party C extentions, so
      alloca() must be made globally available. [Bug #7307]
    
    * addr2line.c (alloca): Replace the alloca() part with the
      ultimate ifdef's. [Bug #7307]
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37571 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Aug 29, 2012
  1. @nurse

    * addr2line.c: SIZE_MAX is defined in stdint.h, so r36755 breaks

    nurse authored
      32bit FreeBSD. [ruby-core:47360] [Bug #6948]
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36844 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Aug 21, 2012
  1. @nobu

    addr2line.c: suppress warnings

    nobu authored
    * addr2line.c (fill_lines): check file size overflow only if it is
      necessary, and suppress a sign-compare warning.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36758 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. @unak

    * addr2line.c (fill_lines): need check and cast of the file size of

    unak authored
      target binary because there are some platforms which off_t > size_t.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36755 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on May 6, 2012
  1. @nurse

    * io.c (io_encoding_set): suppress warnings. [ruby-dev:45627]

    nurse authored
      this tmp1 is not required after r35538.
    
    * addr2line.c: suppress warnings.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35548 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Mar 15, 2012
  1. @nobu

    * adjust style.

    nobu authored
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35027 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Nov 8, 2011
  1. @nurse

    * addr2line.c (PATH_MAX): define if not defined. [ruby-core:40840]

    nurse authored
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33675 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Jul 8, 2011
  1. @nurse

    * addr2line.c: use USE_ELF instead of __ELF__ because Solaris

    nurse authored
      doesn't define it. USE_ELF is already provided by configure.
      patched by Naohisa Goto. [ruby-dev:44066] [Bug #4998]
    
    * addr2line.h: ditto.
    
    * vm_dump.c: ditto.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32461 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Jul 5, 2011
  1. @mame

    * addr2line.c: fix r32407 to check HAVE_ALLOCA_H.

    mame authored
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32411 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Jul 4, 2011
  1. @mame

    * addr2line.c: include <alloca.h> to fix a build issue on Solaris.

    mame authored
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32407 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Mar 2, 2011
  1. @nurse

    * addr2line.c (uleb128): cast the value to unsigned long.

    nurse authored
    * addr2line.c (fill_lines): print error when lseek fails.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31010 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Jan 31, 2011
  1. @nurse

    * addr2line.c: suppressed shorten-64-to-32 warnings.

    nurse authored
    * regcomp.c: ditto.
    * regexec.c: ditto.
    * regint.h: ditto.
    * regparse.c: ditto.
    * regparse.h: ditto.
    * time.c: ditto.
    * variable.c: ditto.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30740 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Jan 12, 2011
  1. @nurse

    * addr2line.c (get_nth_dirname): decrement the directory index

    nurse authored
      because the index specifies the index of given included_directories
      which is separated by NUL and its index is begun from 1.
      Note that 0 specifies the current directory of the compilation.
      see also http://www.dwarfstd.org/doc/dwarf-2.0.0.pdf
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30528 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. @nurse

    * addr2line.c: OpenBSD uses the elf_abi.h header file instead of the

    nurse authored
      elf.h header file. patched by Jeremy Evans [ruby-core:34384]
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30517 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Dec 1, 2010
  1. @nurse

    * addr2line.c: Follow .gnu_debuglink section.

    nurse authored
      A user of distribution provided ruby will see line
      info if s/he has a debug package for ruby.
      patched by Shinichiro Hamaji [ruby-dev:42655]
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29987 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Nov 30, 2010
  1. @nurse

    * addr2line.c (parse_debug_line_cu): ignore DW_LNE_set_discriminator.

    nurse authored
      To ignore, it needs to read a sigle unsigned LEB128 integer.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29983 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Nov 27, 2010
  1. @nobu

    * configure.in: link addr2line only for ELF.

    nobu authored
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29948 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. @nobu

    * addr2line.c: needs <errno.h>.

    nobu authored
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29944 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Nov 26, 2010
  1. @nobu

    * addr2line.c (rb_dump_backtrace_with_lines): should close fd on

    nobu authored
      edge case.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29942 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. @nurse

    * addr2line.c: apply a patch from shinichiro.h.

    nurse authored
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29941 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  3. @nurse

    * addr2line.c: added to show source filename and line number of

    nurse authored
      functions in backtrace. [ruby-dev:42625]
      a patch from shinichiro.h <shinichiro.hamaji AT gmail.com>
    
    * addr2line.h: ditto.
    
    * common.mk: add addr2line.$(OBJEXT).
    
    * configure.in: check dl_iterate_phdr.
    
    * vm_dump.c (rb_vm_bugreport): use rb_dump_backtrace_with_lines in
      addr2line.c when the binary is ELF.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29940 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Something went wrong with that request. Please try again.