Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » gdb Error(No Symbol Table)
gdb Error [message #1755586] Mon, 06 March 2017 06:04 Go to next message
Art Schupp is currently offline Art SchuppFriend
Messages: 4
Registered: January 2017
Junior Member
I have been trying to erase and load a new program into ICDmini (S5U1C17001H) for a few days with no luck. PLEASE HELP!
See a printout of what I have been doing below.
I have not found any way to load the 'Symbol Table' that it requires.
---------------
(gdb) pwd
Working directory /GNU17

(gdb) cd eclipse
Working directory /GNU17/eclipse

(gdb) cd workspace
Working directory /GNU17/eclipse/workspace

(gdb) file fls17W23.elf
(gdb) targdet icd usb
Connecting with target(ID_OK) ..... done
Reda ICD Version (ID_VER_READ) .... done
ICDmini hardware version ...... 2.0
ICDmini software version ...... 3.3
Boot address (ID_DATA_READ) ....... 0x008088
Hardware break MAX ..... 4
Target file is pointer24

(gdb) load fls17w23.elf
Loading section .param, size 0x20 lma 0x0
Loading section .text, size 0x72e lma 0x48
Loading section .rodata, size 0x1e lma 0x778
Start addrexx 0x48, load size 1900
Transfer rate: 15200 bits in <1 sec, 475 bytes/write

(gdb) c17 fls 0xs000 0x1ffff flash_erase flash_load
Error: No symbol table is loaded. Use the "file command

--------------

Any help would be greatly appreciated.
Re: gdb Error [message #1755636 is a reply to message #1755586] Mon, 06 March 2017 13:00 Go to previous message
Tauno Voipio is currently offline Tauno VoipioFriend
Messages: 574
Registered: August 2014
Senior Member
It seems that the file is loaded to the target, but the .elf file is compiled/linked without a symbol table. To have it, the code has to be recompiled and linked with the debug symbol switches (-g) selected.


--

Tauno Voipio
Previous Topic:Remove all reference to css
Next Topic:Help requested to implement a bugfix
Goto Forum:
  


Current Time: Fri Jul 10 12:41:41 GMT 2020

Powered by FUDForum. Page generated in 0.03363 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top