This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: No symbol table is loaded. Use the "file" command. --- new to gdb: please help !



thank you, Daniel. It works now.

g.

================================================================

Grazia Russo-Lassner

Dept. of Linguistics and Institute of Advanced Computer Studies, University of Maryland, College Park, MD 20742
e-mail : glassner@umiacs.umd.edu
phone : 301 405 6746


===============================================================

On Fri, 9 Dec 2005, Daniel Jacobowitz wrote:

On Fri, Dec 09, 2005 at 04:48:13PM -0500, Grazia Russo-Lassner wrote:

hello,


I am trying to debug a program, but when I enter a breakpoint I get
No symbol table is loaded.  Use the "file" command.

This is what I do:
gdb filename-of-executable
break 48	#to break at line 48

then I get:
No symbol table is loaded.  Use the "file" command.

Could someone help ?

Probably your binary does not contain debug information. Try recompiling with -g.

--
Daniel Jacobowitz
CodeSourcery, LLC



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]