On Tue, Aug 5, 2008 at 1:34 AM, Adam Bark <[email protected]> wrote: > Hi, I'm working on an F1612 here from linux. I can load code onto the flash > and run it but if i try to print a variable I get this from gdb: > No symbol table is loaded. Use the "file" command. > How can i access variables? > Thanks, > Adam.
Hi Adam, I had similar problem before. Had solved it by adding symbol-file command to my .gdbinit file. So my .gdbinit file now looks like this: #-----8<----- cut --------------------- target remote localhost:3333 set remoteaddresssize 64 set remotetimeout 999999 monitor erase all symbol-file program.elf load program.elf #-----8<----- cut --------------------- Hope that helps. Yuri Malinovski.
