Discussion:
LD_DEBUG fox AIX
(too old to reply)
c***@gmail.com
2007-02-19 16:23:41 UTC
Permalink
Hi Guys,

I need know which shared libraries are found and opened like on
solaris LD_DEBUS=files
it gives traces about which shared libraries are opened and so on

I want to know what will the shell variable for AIX?

Thanks for your help
Gary R. Hook
2007-02-20 18:52:11 UTC
Permalink
Post by c***@gmail.com
I need know which shared libraries are found and opened like on
solaris LD_DEBUS=files
it gives traces about which shared libraries are opened and so on
I want to know what will the shell variable for AIX?
These is no comparable function on AIX.
Paul Pluzhnikov
2007-02-20 21:36:30 UTC
Permalink
Post by c***@gmail.com
I need know which shared libraries are found and opened like on
solaris LD_DEBUS=files
it gives traces about which shared libraries are opened and so on
I don't believe there is such an environment variable on AIX.

You could do:
dbx -a <pid>
map
detach
quit

Or:
echo "
info shared
quit" > .gdbinit.$$
gdb -q -x .gdbinit.$$ /path/to/exe pid
rm .gdbinit.$$

Cheers,
--
In order to understand recursion you must first understand recursion.
Remove /-nsp/ for email.
Loading...