473,387 Members | 1,844 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

cannot debug with gdb

Hi all,
I am used to following command to compile
g++ -W -Wall -g -O2 -o

But when I start setting the breakpoint with gdb I get the error
No symbol table is loaded. Use the "file" command.

Whats wrong
Cheers
Feb 19 '08 #1
1 1361
je******@yahoo.com wrote:
Hi all,
I am used to following command to compile
g++ -W -Wall -g -O2 -o

But when I start setting the breakpoint with gdb I get the error
No symbol table is loaded. Use the "file" command.
FYI, comp.lang.c++ is not really the correct group for this post.
Follow-ups should go to gnu.g++.help.

What is the name of your program's executable, and how are you invoking gdb?
Feb 19 '08 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: Paul | last post by:
Hi, VB.NET is saying the file I am creating is in use by another process and won't complete its task of moving the file to the specified destination folder. Here is my code (the main bit...
1
by: lukwagoroy | last post by:
Loaded 'ntdll.dll', no matching symbolic information found. I'm writing a small program. It compiled and run. But when trying to debug by select, I got the following error messages: Loaded...
6
by: Peter Afonin | last post by:
Hello: I'm running Windows server 2003. I've never had any problems with debugging, but now I cannot debug ANY of my projects. I'm getting this error: "Error while trying to run project:...
2
by: Scott Adams | last post by:
Does anyone know of some good resources to use when troubleshooting why one cannot debug ASP.NET apps? I am using Win2K pro SP4 (IIS 5) on a brand new machine and I cannot debug even the most...
0
by: Sin | last post by:
> Xxxxx : error PRJ0008 : Could not delete file 'd:\xxxxxxx.dll'. > Make sure that the file is not open by another process and is not write-protected. > > LINK : fatal error LNK1168: cannot open...
3
by: fripper | last post by:
I am writing a simple web application using the .Net Framework 1.1 and VB ..Net. I have installed IIS on my development machine but when I try to run the program in debug mode I get an "Unable to...
4
by: Glenn | last post by:
OK, I've looked up this message but am not finding how to get rid of it: "Cannot evaluate expression because a thread is stopped at a point where garbage collection is impossible, possibly because...
5
by: Ryan Liu | last post by:
I have this problem: "cannot continue edit while debug in VS2005". I see the same tread after I search this topic in google, but none solutions works for me. So again, I ask here. Can someone...
6
by: =?Utf-8?B?RmFiaWFu?= | last post by:
Hi, I have a pretty complicated program which consists of the following basic modules: 1. a C# application 2. a C++/CLI application which is controlled by the C# app via IPC remoting 3. lots...
5
by: Just_a_fan | last post by:
I tried to put an "on error" statement in a routine and got the message that I cannot user "on error" and a lamda or query expression in the same routine. Help does not list anything useful for...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.