Skip to content

GDB can't read compiled artifacts #35

@eproxus

Description

@eproxus

I'm trying to open a program compiled for either GRiSP 1 or 2, but always receive the same error:

$ /opt/grisp/grisp2-rtems-toolchain/master/rtems/5/bin/arm-rtems5-gdb _grisp/grisp_base/otp/23.3.4.9/install/erts-11.2.2.8/bin/beam.smp
GNU gdb (GDB) 10.1.90.20210409-git
Copyright (C) 2021 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "--host=x86_64-apple-darwin21.1.0 --target=arm-rtems5".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from _grisp/grisp_base/otp/23.3.4.9/install/erts-11.2.2.8/bin/beam.smp...
I'm sorry, Dave, I can't do that.  Symbol format `elf32-littlearm' unknown.

We had this working sometime in the past, I think, but it was a long time since I tried it because GDB never worked on macOS.

@c-mauderer Any hints on what is wrong here?

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