program exited with code 01

soumya das <[email protected]>
Newsgroups gmane.comp.debugging.ddd.general
Message-ID <[email protected]>
hello
 i have been trying to use ddd to look at the postgresql source code...
 i did the following steps.
 1.invoke ddd by the following command
 $ddd --pid=postgresqlpid[local]
 2.the ddd console arrives n i the attach the breakpoint at some place.
 
 however whenever i give the run command at the gdb prompt i get the follllowing error message:
 
 /usr/local/pgsql/postgres does not know where to find the server configuration file . you must specify the --config-file option or the -D option or set the PGDATA environment variable..
 
 however i hav already specified the -D option while invoking postgresql.
 
 $/usr/local/pgsql/bin/postmaster -D /usr/local/pgsql/data -l logfile start.
 
 i have also set the postgresql.conf file to the PGDATA configuration variable.
 
 can anyone please help me.
 i am doing a project n i  cant go further without runnin debugger ddd.
 
 

Ssoumya ranjan das
 				
---------------------------------
 Yahoo! India Answers: Share what you know. Learn something new Click here
Catch all the FIFA World Cup 2006 action on Yahoo! India Click here

_______________________________________________
Ddd mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/ddd
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.