bug-gdb
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

init.c Solution


From: John Ward
Subject: init.c Solution
Date: Thu, 11 Oct 2001 18:56:36 +0100

The init.c problem puzzled me for a while, however you are missing one simple ingredient, this is how I got round it:

Ensure you have ddd installed correctly, i.e. when you type ddd on it's own ddd runs. Then simply compile you C++ program using g++
with the -g (debug) flag, i.e.:

$ g++ -g -o main main.cc

then enter:

$ ddd main

This should work...

init.c is the function which runs your program, i.e. it calls main() (presumably when your using debug information), this is contained
within the g++ (or c++) libraries.

Regards

John

P.s. Please Excuse my last post (I'm blaming Netscape for that one!)

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
John P Ward
E-Mail: address@hidden
 
reply via email to

[Prev in Thread] Current Thread [Next in Thread]