From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14727 invoked by alias); 10 Dec 2005 11:42:49 -0000 Received: (qmail 14719 invoked by uid 22791); 10 Dec 2005 11:42:48 -0000 X-Spam-Check-By: sourceware.org Received: from velcro.umiacs.umd.edu (HELO velcro.umiacs.umd.edu) (128.8.120.103) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 10 Dec 2005 11:42:47 +0000 Received: from trifle.umiacs.umd.edu (trifle.umiacs.umd.edu [128.8.120.213]) by velcro.umiacs.umd.edu (8.13.1/8.13.1) with ESMTP id jBABgf4I019275; Sat, 10 Dec 2005 06:42:41 -0500 (EST) Received: from localhost (glassner@localhost) by trifle.umiacs.umd.edu (8.12.10/8.13.1) with ESMTP id jBABgeUl001670; Sat, 10 Dec 2005 06:42:41 -0500 (EST) Date: Sat, 10 Dec 2005 11:42:00 -0000 From: Grazia Russo-Lassner To: Daniel Jacobowitz cc: gdb@sources.redhat.com Subject: Re: No symbol table is loaded. Use the "file" command. --- new to gdb: please help ! In-Reply-To: <20051209214948.GA24287@nevyn.them.org> Message-ID: References: <20051209214948.GA24287@nevyn.them.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2005-12/txt/msg00115.txt.bz2 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 >