Group section

2017-03-21 Thread SASHA NICOLAS DA ROCHA PINHEIRO
Hi Josh I am getting error on the following code, and it looks like to be related to group sections. As you can see I changed the dwarf_elf_init to dwarf_begin_elf, but passed NULL on the third parameter. Do you know how should I actually deal with it?   91 bool DwarfHandle::init_dbg()

Re: Group section

2017-03-21 Thread Josh Stone
On 03/21/2017 12:38 PM, SASHA NICOLAS DA ROCHA PINHEIRO wrote: > > Hi Josh > I am getting error on the following code, and it looks like to be related to > group sections. What is the error? > As you can see I changed the dwarf_elf_init to dwarf_begin_elf, but passed > NULL on the third parame

Re: Group section

2017-03-21 Thread SASHA NICOLAS DA ROCHA PINHEIRO
That's the problem. It says "no error" once, in another call it says "no reference value", and in another call "no DWARF information". De: Josh Stone Enviado: terça-feira, 21 de março de 2017 14:53:12 Para: SASHA NICOLAS DA ROCHA PINHEIRO; elfutils-devel@sourceware.org Assunto: Re: Group sect

Re: Group section

2017-03-21 Thread Mark Wielaard
On Tue, Mar 21, 2017 at 08:46:25PM +, SASHA NICOLAS DA ROCHA PINHEIRO wrote: > That's the problem. It says "no error" once, in another call it says > "no reference value", and in another call "no DWARF information". > [...] > > 106 file_data = dwarf_begin_elf(file->e_elfp(), DWARF_C_READ, N