]> sourceware.org Git - newlib-cygwin.git/commit - winsup/utils/ldd.cc
* ldd.cc: Rework to detect missing DLLs.
authorChristopher Faylor <me@cgf.cx>
Sat, 14 Mar 2009 06:46:00 +0000 (06:46 +0000)
committerChristopher Faylor <me@cgf.cx>
Sat, 14 Mar 2009 06:46:00 +0000 (06:46 +0000)
commit962acfe58a7fb41e42abfa61a7edce1f24bcfebc
treeafb9eff5fdec85c17f23eea37acdd3b4410aa367
parentc298c9bdbf7ac64a6f7d7b65be73089fd1439e3d
* ldd.cc: Rework to detect missing DLLs.
(start_process): Change to expect windows filename as input.
(tocyg): New function - convert cygwin fn to windows fn.
(print_dlls_and_kill_inferior): Accept extra argument denoting whether to open
input and look for nonexistent DLLs.  Use tocyg to convert filename and pass it
to start_process.
(report): Flag when an DLL-not-found exception occurs and pass this information
to print_dlls_and_kill_inferior.
(filelist): New structure.
(saw_file): New function.
(dump_import_directory): Ditto.
(map_file): Ditto.
(skip_dos_stub): Ditto.
(get_directory_index): Ditto.
(process_file): Ditto.
winsup/utils/ChangeLog
winsup/utils/ldd.cc
This page took 0.030551 seconds and 5 git commands to generate.