Skip to content

Enable to debug .crt0 with GDB, must enable debugging support #3

Description

@andersondomingues

GDB cannot access .crt0 code as no debug information has being included during compilation.

  • Add -g3 -ggdb to ASFLAGS in /hellfireos/arch/riscv/hf-riscv/boot/arch.mk
  • Replace -g in CFLAGS by -g3 -ggdb

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions