Taken from Carlos O'Donnell's suggestion in
https://sourceware.org/bugzilla/show_bug.cgi?id=18035#c2
Reported-by: Carlos O'Donell <carlos@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
also shows output that includes the dynamic shared objects
that are linked into a process.
+
+The
+.BR gdb (1)
+.I "info shared"
+command also shows the shared libraries being used by a process,
+so that one can obtain similar output to
+.BR pldd
+using a command such as the following
+(to monitor the process with the specified
+.IR pid ):
+.in +4n
+.nf
+
+$ \fBgdb \-ex "set confirm off" \-ex "set height 0" \-ex "info shared" \\\fP
+ \fB-ex "quit" \-p $pid | grep '^0x.*0x'\fP
+.fi
+.in
.SH BUGS
Since glibc 2.19,
.B pldd