Re: [PATCH] libdwfl/argp-std.c: Set offline_next_address for a.out default

2025-01-21 Thread Aaron Merey
On Tue, Jan 21, 2025 at 9:02 AM Mark Wielaard wrote: > > Hi Aaron, > > On Mon, 2025-01-20 at 19:38 -0500, Aaron Merey wrote: > > If none of -e, -p or -k is given as a command line option, libdwfl > > parse_opt will use '-e a.out' as the default. > > > > When handling -e, parse_opt will set dwfl->o

Re: [PATCH] libdwfl/argp-std.c: Set offline_next_address for a.out default

2025-01-21 Thread Mark Wielaard
Hi Aaron, On Mon, 2025-01-20 at 19:38 -0500, Aaron Merey wrote: > If none of -e, -p or -k is given as a command line option, libdwfl > parse_opt will use '-e a.out' as the default. > > When handling -e, parse_opt will set dwfl->offline_next_address > to 0. However when handling the default '-e a

[PATCH] libdwfl/argp-std.c: Set offline_next_address for a.out default

2025-01-20 Thread Aaron Merey
If none of -e, -p or -k is given as a command line option, libdwfl parse_opt will use '-e a.out' as the default. When handling -e, parse_opt will set dwfl->offline_next_address to 0. However when handling the default '-e a.out', dwfl->offline_next_address is not set to 0. This can result in eu-a