mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 16:44:01 +02:00
parent
3557739db9
commit
ac311437d3
1 changed files with 1 additions and 2 deletions
|
@ -2173,9 +2173,8 @@ fill_lines(int num_traces, void **traces, int check_debuglink,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (offset == -1) {
|
if (offset == 0) {
|
||||||
/* main executable */
|
/* main executable */
|
||||||
offset = 0;
|
|
||||||
if (dynsym_shdr && dynstr_shdr) {
|
if (dynsym_shdr && dynstr_shdr) {
|
||||||
char *strtab = file + dynstr_shdr->sh_offset;
|
char *strtab = file + dynstr_shdr->sh_offset;
|
||||||
ElfW(Sym) *symtab = (ElfW(Sym) *)(file + dynsym_shdr->sh_offset);
|
ElfW(Sym) *symtab = (ElfW(Sym) *)(file + dynsym_shdr->sh_offset);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue