Menu

no debugging symbols found

Quix
2019-05-20
2019-05-21
  • Quix

    Quix - 2019-05-20

    HI,
    I'm using the package SDCC, stm8-gdb and openocd to debug a stm8s003.
    Well, sdcc make a good work, openocd is fine, but stm8-gdb don't work with
    the option --tui, that's say it's "stm8-gdb: TUI mode is not supported", and the
    command line stm8-gdb Timer2.elf returns this "(no debugging symbols found)"
    I'm try to work in eclipse, but without the simbols it's impossible !

    I'm using a linux neon kde 64 (based on ubuntu bionic), sdcc 3.9.11 #11242, openocd
    from github and GNU gdb (GDB) 8.1 -- This GDB was configured as "--host=x86_64-pc-linux-gnu --target=stm8-none-elf32".

    can help, please ?

     
    • akre

      akre - 2019-05-21

      Hello,

      you are probably missing some libraries like ncurses to make tui work. Check your config.log.

      Regarding missing symbols, make sure you have --debug option enabled when compiling.

      BR

      /Ake

       
  • Quix

    Quix - 2019-05-21

    HI,
    Thanks akre !

    Well, the problem is 100% resolved.
    1) when compilling the stm8-gdb, I used an HD with restrictions, then, I needed to compile under root user, and get a tui problem ! Compilling again on another HD, the problem goes off.
    2) To use eclipse, I get the sdcc eclipse plugin. To configure the compiler under this need a some skill :)))
    In the C/C++ Bulid >> Settings >> SDCC Compiler, the line command should be: sdcc -c --debug -mstm8 --out-fmt-elf , but on SDCC LINKER command line you can NOT use -c option, all others are ok. In the Build Artifact TAB, on Artifact extension you put elf, and get the file elf when compile your project.
    Steps under eclipse is ok, but you need to select instructions step mode.

    I hope you understand my uggly english :)))
    
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.