mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
086301ac73
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
21 lines
414 B
C
21 lines
414 B
C
/**********************************************************************
|
|
|
|
addr2line.h -
|
|
|
|
$Author$
|
|
|
|
Copyright (C) 2010 Shinichiro Hamaji
|
|
|
|
**********************************************************************/
|
|
|
|
#ifndef RUBY_ADDR2LINE_H
|
|
#define RUBY_ADDR2LINE_H
|
|
|
|
#ifdef __ELF__
|
|
|
|
void
|
|
rb_dump_backtrace_with_lines(int num_traces, void **traces, char **syms);
|
|
|
|
#endif /* __ELF__ */
|
|
|
|
#endif /* RUBY_ADDR2LINE_H */
|