Hi Martin,

On Tue, Dec 09, 2025 at 09:21:01AM +0100, Martin Liška wrote:
> Thank you for the dump support of the `.gcc_except_table`, I think
> elfutils is the only tool that can dump the information. That being
> said, I would like to improve the quality of the output.

Thanks.

> Before the change:
> ```
>  Call site table: [   0] Call site start:   0x10
>         Call site length:  12
>         Landing pad:       0x2a
>         Action:            3
>  [   1] Call site start:   0x1c
>         Call site length:  123
>         Landing pad:       0
>         Action:            0
> 
>  Action table: [   0] ar_filter:   1
>         ar_disp:     0
>  [   1] ar_filter:   2
>         ar_disp:    -3    -> [   0]
> ```
> 
> After:
> ```
>  Call site table:
>  [   0] Call site start:   0x10
>         Call site length:  12
>         Landing pad:       0x2a
>         Action:            3
>  [   1] Call site start:   0x1c
>         Call site length:  123
>         Landing pad:       0
>         Action:            0
> 
>  Action table:
>  [   0] ar_filter:   1
>         ar_disp:     0
>  [   1] ar_filter:   2
>         ar_disp:    -3    -> [   0]
> ```
> 
> ChangeLog:
> 
>       * src/readelf.c (print_debug_exception_table): Add newlines.

This certainly makes the output more consistent/clear.

Pushed,

Mark

Reply via email to