Re: [Dwarf-Discuss] Some DWARFv5 draft feedback

2016-12-01 Thread Todd Allen
> > Enumeration types. It is allowed to have a DW_AT_byte_size on a > DW_TAG_enumeration_type, but not DW_AT_encoding. To describe both size > and encoding one needs to use a DW_AT_type pointing to a base type that > represents the "underlying type". For languages where enumerations don't > have a

RE: [Dwarf-Discuss] Some DWARFv5 draft feedback

2016-12-01 Thread Robinson, Paul
Thanks for reporting this stuff! I see a few things you found have already been reported, but please make sure to file issues for the rest so we can clean up as much as we can. > New FORMs. DW_FORM_ref_sup doesn't describe how the offset is > represented. Currently the assumption in elfutils is t

Re: [Dwarf-Discuss] Some DWARFv5 draft feedback

2016-12-01 Thread Jakub Jelinek
On Thu, Dec 01, 2016 at 01:52:47PM +, Robinson, Paul wrote: > Thanks for reporting this stuff! I see a few things you found have > already been reported, but please make sure to file issues for the > rest so we can clean up as much as we can. > > > New FORMs. DW_FORM_ref_sup doesn't describe

Re: [Dwarf-Discuss] Some DWARFv5 draft feedback

2016-12-01 Thread Andreas Arnez
On Thu, Dec 01 2016, Mark Wielaard wrote: > BTW. It would be handy if there were sources for the spec so one can > create patches for simple typos. Also it is somewhat opaque how Issues > are handled. Could they and any comments from the committee be sent to > the mailinglist to make tracking chan

Re: [Dwarf-Discuss] Some DWARFv5 draft feedback

2016-12-01 Thread Mark Wielaard
On Thu, 2016-12-01 at 13:52 +, Robinson, Paul wrote: > Thanks for reporting this stuff! I see a few things you found have > already been reported, but please make sure to file issues for the > rest so we can clean up as much as we can. Thanks, I did also file the following Issues, but they ha

Re: [Dwarf-Discuss] Some DWARFv5 draft feedback

2016-12-01 Thread Michael Eager
Andreas -- Please submit comments about the Public Draft at http://dwarfstd.org/Comment.php. On 12/01/2016 06:17 AM, Andreas Arnez wrote: On Thu, Dec 01 2016, Mark Wielaard wrote: BTW. It would be handy if there were sources for the spec so one can create patches for simple typos. Also it is

Re: Trying not call elfutils functions in ABRT under root

2016-12-01 Thread Adam Sulc
Thanks for reply. Ptrace process before dropping privileges does not allow me to traverse mem files. Still problem persists> https://github.com/xsulca00/elfutils-for-satyr/blob/satyr_dwfl_linux_proc_report/libdwfl/linux-proc-maps.c#L430 How to pass the "/proc/[tid]/mem" file opened under root t

Re: Trying not call elfutils functions in ABRT under root

2016-12-01 Thread Mark Wielaard
On Thu, 2016-12-01 at 20:44 +, Adam Sulc wrote: > Ptrace process before dropping privileges does not allow me to traverse mem > files. Still problem persists> OK. Do you have a code example and what errors you get? > https://github.com/xsulca00/elfutils-for-satyr/blob/satyr_dwfl_linux_proc_r