From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20708 invoked by alias); 9 Dec 2005 21:48:17 -0000 Received: (qmail 20701 invoked by uid 22791); 9 Dec 2005 21:48:17 -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; Fri, 09 Dec 2005 21:48:16 +0000 Received: from grappa.umiacs.umd.edu (grappa.umiacs.umd.edu [128.8.120.252]) by velcro.umiacs.umd.edu (8.13.1/8.13.1) with ESMTP id jB9LmDDF022166 for ; Fri, 9 Dec 2005 16:48:14 -0500 (EST) Received: from grappa.umiacs.umd.edu (localhost [127.0.0.1]) by grappa.umiacs.umd.edu (8.12.11/8.13.1) with ESMTP id jB9LmDUY027377 for ; Fri, 9 Dec 2005 16:48:13 -0500 Received: from localhost (glassner@localhost) by grappa.umiacs.umd.edu (8.12.11/8.12.11/Submit) with ESMTP id jB9LmDFA027369 for ; Fri, 9 Dec 2005 16:48:13 -0500 Date: Fri, 09 Dec 2005 21:48:00 -0000 From: Grazia Russo-Lassner To: gdb@sources.redhat.com Subject: No symbol table is loaded. Use the "file" command. --- new to gdb: please help ! Message-ID: 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/msg00106.txt.bz2 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 ? Thank you in advance. Grazia