Skip to content

DWARF export creates 64-bit elf files even for 32 bit arch #2

@pelrun

Description

@pelrun

I'm attempting to export a dwarf file from an ARM:32:LE:Cortex db.

Girdl correctly identifies the arch as 32-bit ARM, but the exporter is hardcoded to produce an ELFCLASS64 file. The ARM machine ID is only valid in ELFCLASS32.

The resulting elf file can't be opened by arm-none-eabi-gdb, and if it's opened by gdb it's assumed to be X86.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions