Project

General

Profile

Bug #4998 ยป addr2line.diff

ngoto (Naohisa Goto), 07/08/2011 09:05 PM

View differences:

addr2line.c (working copy)
#include <stdio.h>
#include <errno.h>
#ifdef __ELF__
#ifdef USE_ELF
#ifdef __OpenBSD__
#include <elf_abi.h>
......
free(lines);
}
#else /* defined(__ELF__) */
#else /* defined(USE_ELF) */
#error not supported
#endif
addr2line.h (working copy)
#ifndef RUBY_ADDR2LINE_H
#define RUBY_ADDR2LINE_H
#ifdef __ELF__
#ifdef USE_ELF
void
rb_dump_backtrace_with_lines(int num_traces, void **traces, char **syms);
#endif /* __ELF__ */
#endif /* USE_ELF */
#endif /* RUBY_ADDR2LINE_H */
    (1-1/1)