* Makefile.in: Add dumper.exe target and associated mechanisms for building it.

* dumper.cc: New file.
* dumper.h: New file.
* module_info.cc: New file.
* parse_pe.cc: New file.
This commit is contained in:
Christopher Faylor
2000-08-24 19:03:12 +00:00
parent 199359f062
commit 0ad10c0f96
8 changed files with 1120 additions and 3 deletions

View File

@@ -261,9 +261,10 @@ main (int argc, char *argv[])
char pname[MAX_PATH];
if (p->process_state & PID_ZOMBIE)
strcpy (pname, "<defunct>");
else if (p->progname[0])
else if (query != CW_GETPINFO_FULL)
{
char *s;
pname[0] = '\0';
cygwin_conv_to_posix_path (p->progname, pname);
s = strchr (pname, '\0') - 4;
if (s > pname && strcasecmp (s, ".exe") == 0)