From: Grazia Russo-Lassner <glassner@umiacs.umd.edu>
To: Daniel Jacobowitz <drow@false.org>
Cc: gdb@sources.redhat.com
Subject: Re: No symbol table is loaded. Use the "file" command. --- new to gdb: please help !
Date: Sat, 10 Dec 2005 11:42:00 -0000 [thread overview]
Message-ID: <Pine.GSO.4.61.0512100642220.634@trifle.umiacs.umd.edu> (raw)
In-Reply-To: <20051209214948.GA24287@nevyn.them.org>
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
>
next prev parent reply other threads:[~2005-12-10 11:42 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-09 21:48 Grazia Russo-Lassner
2005-12-09 21:49 ` Daniel Jacobowitz
2005-12-10 11:42 ` Grazia Russo-Lassner [this message]
2005-12-10 11:48 ` how to debug functions called from other classes Grazia Russo-Lassner
2005-12-10 18:44 ` Jim Blandy
2005-12-11 15:34 ` Grazia Russo-Lassner
2005-12-11 15:43 ` Grazia Russo-Lassner
2005-12-11 20:09 ` Jim Blandy
2005-12-12 11:26 ` Grazia Russo-Lassner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.GSO.4.61.0512100642220.634@trifle.umiacs.umd.edu \
--to=glassner@umiacs.umd.edu \
--cc=drow@false.org \
--cc=gdb@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox