Re: Read .debug_line without .debug_info

2018-03-27 Thread Mark Wielaard
On Mon, 2018-03-26 at 21:24 +0200, Torsten Polle wrote: > > > > Am 26.03.2018 um 21:12 schrieb Mark Wielaard : > > 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 sectio

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: Read .debug_line without .debug_info

2018-03-26 Thread 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 need some information from the CU which comes from the .debug_info. In part

Read .debug_line without .debug_info

2018-03-26 Thread Sasha Da Rocha Pinheiro
Hi, is it possible to read contents of .debug_line section without the presence of a .debug_info section? We have CUDA binaries being generated with only .debug_line, and we wish to use that. Is it possible to do that with libdw? If not, any ideas of how to construct a minimum .debug_info in o