Skip to content

When GDB debug exe with dump , it can't load symbols  #3296

Description

@LiangJy123

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

The same operation in Ubuntu2204 is normal.
image

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.
image

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions