gdb (no debugging symbols found)
Hi All,
I'm running gdb across a network using gdb server. Thanks to lots of help from here :D, I've got it up and running. However I can't see any source or variables for my code (in ddd /gdb). At start up gdb says (no debugging symbols found). I've got a g in my make file, CPFLAGS = -Wall -Os -g -pedantic I've tried loading symbols in using "symbol-file testarm", this sort of works in that I can view symbols but not names, eg if I ask dd to show x y and z, rather than x = 10 y = 20 x = 30 it says display 10/20/30 Also ddd does not show anything in the source window, is there a way I can get it to show this? I think it's because I've started ddd with ddd arm-linux-gdb, as I'm calling a crosscompiler gdb. So can I tell ddd to point to the correct foldes? Can anyone tell me what commands I need to set in gdb/ddd to view variable names (it's hard to keep track when it bunches them all together) and how to view my source code. Thanks! |
Quote:
Code:
anisha@linux-uitj:~/junk> cat helloo.c Code:
anisha@linux-uitj:~/junk> gcc -g helloo.c |
Quote:
The following quote is from above link: Quote:
|
All times are GMT -5. The time now is 07:38 PM. |