Created attachment 168219 [details] add_auxiliary_vector_to_vgcore_files.patch It seems gcc defaults now quite some time to create pie executables. And gdb seems to rely for core files of such executables to contain an auxv section. This was found in this Debian bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=993018 There are more details about reproducing it. I investigated back then and came up with an patch which makes valgrind write the auxv section into the core file. Unfortuantely forgot about it and now trying to upstream this. Would such a patch be acceptable? If yes, how should I proceed? Patch is attached and it seems still to apply to current valgrind 3.20.0 in Debian Trixie/testing.