[3.3.11] pbm running ddd with dbx on AIX 5.3

Guy MOEBS <[email protected]>
Newsgroups gmane.comp.debugging.ddd.general
Message-ID <[email protected]>
Hello,

I try to use DDD 3.3.11 on an IBM p575 system running AIX 5.3 with  
dbx as inferior debugger.
The problem is that ddd waits for dbx to get ready.
I have this problem with the "sample.c" example given in "Chapter 1 :  
a sample DDD session" of the DDD manual.

I have to set the LD_LIBRARY_PATH environment variable to make DDD  
work (see below)

Here are some informations about the system :

AIX
===
this is AIX 5.3 ML 04.
oslevel -r
5300-04

DBX
===
dbx is shipped with AIX 5.3 as one can get :
which_fileset dbx
/usr/bin/dbx -> /usr/ccs/bin/dbx        bos.adt.debug 5.3.0.0
/usr/ccs/bin/dbx                        bos.adt.debug 5.3.0.0

Compiling sample code
=====================
xlc -O0 -g -qfullpath sample.c -o sample




DDD
===

Configuration
=============
/usr/local/bin/ddd --configuration
GNU DDD 3.3.11 (powerpc-ibm-aix5.3.0.0)
Copyright (C) 1995-1999 Technische Universit‰t Braunschweig, Germany.
Copyright (C) 1999-2001 Universit‰t Passau, Germany.
Copyright (C) 2001 Universit‰t des Saarlandes, Germany.
Copyright (C) 2001-2004 Free Software Foundation, Inc.

Compiled with GCC 4.0.2
Requires X11R6, Xt11R6, Motif 2.1.30 (Motif Version 2.1.30)
Includes Athena Panner, DDD core
Built 2006-02-25 by root <[email protected]>.

Check configuration
===================
usr/local/bin/ddd --check-configuration
Checking for X11 library directory... /usr/lib/X11
Checking for XKeysymDB... /usr/lib/X11/XKeysymDB
No configuration problems found.

Launching DDD
=============
/usr/local/bin/ddd --trace --debugger dbx sample
exec(): 0509-036 Cannot load program /usr/local/bin/ddd because of  
the following errors:
         0509-150   Dependent module libstdc++.a(libstdc++.so.6)  
could not be loaded.
         0509-022 Cannot load module libstdc++.a(libstdc++.so.6).
         0509-026 System error: A file or directory in the path name  
does not exist.

setenv LD_LIBRARY_PATH /usr/local/lib

/usr/local/bin/ddd --trace --debugger dbx sample
GM-PWR5 % GNU DDD 3.3.11 (powerpc-ibm-aix5.3.0.0)
Copyright (C) 1995-1999 Technische Universit‰t Braunschweig, Germany.
Copyright (C) 1999-2001 Universit‰t Passau, Germany.
Copyright (C) 2001 Universit‰t des Saarlandes, Germany.
Copyright (C) 2001-2004 Free Software Foundation, Inc.

Compiled with GCC 4.0.2
Requires X11R6, Xt11R6, Motif 2.1.30 (Motif Version 2.1.30)
Includes Athena Panner, DDD core
Built 2006-02-25 by root <[email protected]>.
$  /usr/local/bin/ddd --trace --debugger dbx sample
+  /bin/sh -c 'exec dbx '\''sample'\'''
#  Hello, world!
#  Starting DBX...
#  Raising core file size limit from 2147483645 to 2147483647 bytes...
#  Raising core file size limit from 2147483645 to 2147483647  
bytes...done.
#  Running DBX (pid 1077462, tty /dev/pts/11)...
#  Current language: C/C++
#  Searching "vsllib/ddd.vsl"...
#  Trying "/home/crihan/gm/.ddd/vsllib/ddd.vsl"
#  Trying "/usr/local/share/ddd-3.3.11/vsllib/ddd.vsl"
#  Searching "vsllib/ddd.vsl"..."/usr/local/share/ddd-3.3.11/vsllib/ 
ddd.vsl".
2006.09.27 10:52:59
<- "Type \'help\' for help.\n"
2006.09.27 10:52:59
<- "reading symbolic information ...\n"
#  Open Program: waiting until DBX gets ready...


==>  And then nothing happens .
After ten minutes, I select the "File => Exit" option and I get :

#  Saving options in "/home/crihan/gm/.ddd/init"...
#  Saving options in "/home/crihan/gm/.ddd/init"...done.
/bin/sh -c 'exec dbx '\''sample'\''' [1077462]: Hangup
#  Thanks for using DDD 3.3.11!

Did someone face the same problem ?
Is there something I have to set somewhere ?

Thank you for your help.

Regards,
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.