This is the mail archive of the
cygwin-cvs@cygwin.com
mailing list for the Cygwin project.
winsup/utils ChangeLog ldd.cc
- From: cgf at cygwin dot com
- To: cygwin-cvs at cygwin dot com
- Date: 14 Mar 2009 18:40:59 -0000
- Subject: winsup/utils ChangeLog ldd.cc
CVSROOT: /cvs/uberbaum
Module name: winsup
Changes by: cgf@sourceware.org 2009-03-14 18:40:59
Modified files:
utils : ChangeLog ldd.cc
Log message:
* ldd.cc (longopts): Add --dll option.
(get_module_filename): Generalized wrapper function which avoid path length
restrictions.
(load_dll): Handle special-case of inspecting a DLL.
(start_process): Accept an output parameter "isdll". Detect when file to start
is a DLL and start a wrapper instead.
(print_dlls_and_kill_inferior): When dealing with a DLL, avoid printing
everything before the DLL itself first appears. (This is not strictly correct
and should be fixed eventually)
(report): Deal with DLLs. Don't set a breakpoint for DLLs, just let captive
ldd process terminate normally. Pass dll info to print_dlls_and_kill_inferior.
(main): Handle special-case "--dll" option by loading the DLL and exiting.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/utils/ChangeLog.diff?cvsroot=uberbaum&r1=1.455&r2=1.456
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/utils/ldd.cc.diff?cvsroot=uberbaum&r1=1.2&r2=1.3