Re: Read .debug_line without .debug_info

2018-03-26 Thread Torsten Polle
Hi Mark, > Am 26.03.2018 um 21:12 schrieb Mark Wielaard : > > Hi Sasha, > > On Mon, Mar 26, 2018 at 04:41:06PM +, Sasha Da Rocha Pinheiro wrote: >> is it possible to read contents of .debug_line section without the >> presence of a .debug_info section? > > No, because .debug_line sections n

Re: Relative path X full path

2018-03-26 Thread Torsten Polle
Hi Sasha, > Am 26.03.2018 um 18:45 schrieb Sasha Da Rocha Pinheiro > : > > Hi, > > I have noticed that when we compile out-of-source, the paths returned from > libdw are gonna be relative. Otherwise, they show up as full path. > Have you noticed it? > > Regards, > Sasha this is the issue tha

Re: [RFC] libdw: prepend current directory in read_srclines

2017-05-03 Thread Torsten Polle
Hi Mark, > Am 29.03.2017 um 22:15 schrieb Torsten Polle : > > Hi Mark, > >> Am 27.03.2017 um 22:45 schrieb Mark Wielaard : >> >> Hi Torsten, >> >> On Sun, Mar 26, 2017 at 08:35:50PM +0200, Torsten Polle wrote: >>> I observed that read

Re: [RFC] libdw: prepend current directory in read_srclines

2017-03-29 Thread Torsten Polle
Hi Mark, > Am 27.03.2017 um 22:45 schrieb Mark Wielaard : > > Hi Torsten, > > On Sun, Mar 26, 2017 at 08:35:50PM +0200, Torsten Polle wrote: >> I observed that readelf and elfutils sometimes report different results. > > Do you have an example of this? It would

[RFC] libdw: prepend current directory in read_srclines

2017-03-26 Thread Torsten Polle
Hi, I observed that readelf and elfutils sometimes report different results. PFA a patch that corrects this. I’m not sure whether the way I tackled the problem is acceptable. Kind Regards, Torsten 0001-libdw-prepend-current-directory-in-read_srclines.patch Description: Binary data