Hi ,
When I use GDB to debug my exe in Mariner, I meet a problem as the title suggests.

The core dump file is match the executable file.
The same operation in Ubuntu2204 is normal.

Another strange thing is the dump name genarated in Mariner.
Core pattern is "/corefile/core-%e-%p-%t".
%e means executable file name without path.
But the dump name is "core-sudo-xxx-xxx" .
"sudo" is not my executable file name.

So is the GDB not work normally in this situation ?
System info:
Linux cbl-mariner-HFPKyCC2mFvu 5.15.41.1-1.cm2 #1 SMP Sat May 28 19:48:23 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Hi ,

When I use GDB to debug my exe in Mariner, I meet a problem as the title suggests.
The core dump file is match the executable file.
The same operation in Ubuntu2204 is normal.

Another strange thing is the dump name genarated in Mariner.
Core pattern is "/corefile/core-%e-%p-%t".

%e means executable file name without path.
But the dump name is "core-sudo-xxx-xxx" .
"sudo" is not my executable file name.
So is the GDB not work normally in this situation ?
System info:
Linux cbl-mariner-HFPKyCC2mFvu 5.15.41.1-1.cm2 #1 SMP Sat May 28 19:48:23 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux