[PATCH 1/2] maint: adapt to the future versions of readelf
Dmitry V. Levin
ldv at altlinux.org
Sat Dec 12 00:48:31 UTC 2020
On Fri, Dec 11, 2020 at 09:40:07PM +0300, Gleb Fotengauer-Malinovskiy wrote:
> * maint/ioctls_sym.awk: Update DW_AT_type regexp.
> ---
> maint/ioctls_sym.awk | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/maint/ioctls_sym.awk b/maint/ioctls_sym.awk
> index 504e644be..0bae305af 100644
> --- a/maint/ioctls_sym.awk
> +++ b/maint/ioctls_sym.awk
> @@ -47,7 +47,7 @@ function dir2str(dir, \
> array[idx]["name"] = temparray[1]
> }
> /^DW_AT_type/ {
> - match($0, /:[[:space:]]+<(0x[[:xdigit:]]*)>$/, temparray)
> + match($0, /:[[:space:]]+<(0x[[:xdigit:]]*)>(, .*)?$/, temparray)
> array[idx]["type"] = temparray[1]
> }
> /^DW_AT_upper_bound/ {
Applied, thanks.
--
ldv
More information about the Strace-devel
mailing list