Skip to content

Always build with -ggdb3 #2790

@xobs

Description

@xobs

Right now, debug symbols are only turned on when compiling with DEBUG=1. I ran a test where I built the image twice: Once with -ggdb3 and once with (i.e. adding a space to ensure both were built from dirty git repos).

The resulting file was 8 bytes larger over 228384 bytes, and much of the resulting binary was identical. I suspect there may be other conflating factors including the order in which symbols are generated.

Is there a reason circuitpython isn't normally built with -ggdb3?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions