Re: [PATCH] elfutils: PR 30991 srcfiles tarball feature

2023-11-14 Thread Aaron Merey
Hi Housam, On Mon, Nov 13, 2023 at 8:49 PM Aaron Merey wrote: > > On Wed, Nov 8, 2023 at 11:49 AM Housam Alamour wrote: > > +/* Read the file contents and write it to the zip file */ > > +fd = open(file_path.c_str(), O_RDONLY); > > +if (!fd) > > +{ > > + cerr << "Error: Fail

Re: [PATCH] elfutils: PR 30991 srcfiles tarball feature

2023-11-13 Thread Aaron Merey
Hi Housam, Thanks for working on this. This is a useful feature that I can definitely see myself using! On Wed, Nov 8, 2023 at 11:49 AM Housam Alamour wrote: > > * srclines.cxx: Introduce new option that places all the > source files associated with a specified dwarf/elf file > into a zip file

[PATCH] elfutils: PR 30991 srcfiles tarball feature

2023-11-08 Thread Housam Alamour
* srclines.cxx: Introduce new option that places all the source files associated with a specified dwarf/elf file into a zip file and sends it to stdout. * run-srcfiles-self.sh: Added test-case for the new zip feature. * srcfiles.1, NEWS: Added documentation for the new zip feature Example: % ./s