Re: [PATCH] PR25628: Debuginfod client should cache negative results.

2021-05-01 Thread Mark Wielaard
Hi Alice, On Wed, Apr 28, 2021 at 08:10:49AM -0400, Alice Zhang via Elfutils-devel wrote: > * debuginfod/debuginfod-client.c: > - add debuginfod_config_cache for reading and writing to cache > configuration files, make use of the function within > debuginfod_clean_cache and debuginfod_qu

[Bug libdw/27805] libdwfl: Unable to extract source line information for RISC-V binary

2021-05-01 Thread wilson at gcc dot gnu.org via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=27805 Jim Wilson changed: What|Removed |Added CC||wilson at gcc dot gnu.org --- Comment #1

[Bug debuginfod/27571] debuginfod client cache should consist of 444 perm files

2021-05-01 Thread fche at redhat dot com via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=27571 Frank Ch. Eigler changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

Re: PATCH: PR27571: debuginfod client, cache file permissions

2021-05-01 Thread Mark Wielaard
Hi Frank, On Mon, 2021-04-26 at 12:22 -0400, Frank Ch. Eigler via Elfutils-devel wrote: > Author: Frank Ch. Eigler > Date: Mon Apr 26 12:21:03 2021 -0400 > > PR27571: debuginfod client cache - file permissions > > Files in the download cache should be read-only. > > Signe

[Bug debuginfod/26125] during debuginfod cache cleanup, try harder to rmdir empty dirs

2021-05-01 Thread fche at redhat dot com via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=26125 Frank Ch. Eigler changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug debuginfod/27701] use long lived debuginfod-client objects & curl handles

2021-05-01 Thread fche at redhat dot com via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=27701 Frank Ch. Eigler changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

Re: PR26125 patch: debuginfod client cache cleanup

2021-05-01 Thread Frank Ch. Eigler via Elfutils-devel
Hi - > > With PR25365, we accidentally lost the ability to rmdir client-cache > > directories corresponding to buildids. Bring this back, with some > > attention to a possible race between a client doing cleanup and > > another client doing lookups at the same time. > > OK. So if

Re: PR26125 patch: debuginfod client cache cleanup

2021-05-01 Thread Mark Wielaard
Hi Frank, On Mon, 2021-04-26 at 11:54 -0400, Frank Ch. Eigler via Elfutils-devel wrote: > PR26125: debuginfod client cache - rmdir harder > > With PR25365, we accidentally lost the ability to rmdir client-cache > directories corresponding to buildids. Bring this back, with some >

Re: [PATCH] libdw: handle DW_FORM_indirect when reading attributes

2021-05-01 Thread Mark Wielaard
Hi, On Sat, 2021-05-01 at 17:59 +0200, Mark Wielaard wrote: > There is __libdw_form_val_compute_len which already handles > DW_FORM_indirect: > > case DW_FORM_indirect: > get_uleb128 (u128, valp, endp); > // XXX Is this really correct? > result = __libdw_form_val_len (cu, u1

Re: [PATCH] libdw: handle DW_FORM_indirect when reading attributes

2021-05-01 Thread Mark Wielaard
Hi Omar, On Fri, 2021-04-23 at 16:36 -0700, Omar Sandoval wrote: > Whenever we encounter an attribute with DW_FORM_indirect, we need to > read its true form from the DIE data. Then, we can continue normally. > This adds support to the most obvious places: __libdw_find_attr() and > dwarf_getattrs()