MSP-EXP430G2ET: Symbol format 'elf32-msp430' unknown in msp430-elf-gdb

Part Number: MSP-EXP430G2ET
Other Parts Discussed in Thread: MSP430-GCC-OPENSOURCE,

Tool/software:

Hi, 

I'm trying to debug a file with the msp430-elf-gdb in the msp430-gcc-opensource toolchain. I have assembled an assembly source file with msp430-elf-as and when I try to load it into msp430-elf-gdb with "file build/program.elf," I get the message "I'm sorry, Dave, I can't do that. Symbol format `elf32-msp430' unknown." What can I do to remedy this situation? 

Let me know if any other information is needed. I am using the MSP-EXP430G2ET development board and communication with the device is functional.

Thanks, 

David

  • I don't get that error so it must be something that you are doing.

    $ /usr/ti/gcc/bin/msp430-elf-gdb eforth.elf
    GNU gdb (Mitto Systems Limited - msp430-gcc 9.3.1.11) 9.1
    Copyright (C) 2020 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-pc-linux-gnu --target=msp430-elf".
    Type "show configuration" for configuration details.
    For bug reporting instructions, please see:
    <http://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 eforth.elf...
    (No debugging symbols found in eforth.elf)
    (gdb) 
    

**Attention** This is a public forum