* dcrt0.cc (initial_env): Force path and CYGWIN_DEBUG contents to lower case.

* exceptions.cc (error_start_init): Use the name derived from GetModuleName
rather than myself->progname.
This commit is contained in:
Christopher Faylor
2002-07-15 03:48:52 +00:00
parent 3d0ba393df
commit 56a42791a3
3 changed files with 16 additions and 6 deletions

View File

@@ -810,6 +810,8 @@ initial_env ()
{
char buf1[MAX_PATH + 1];
len = GetModuleFileName (NULL, buf1, MAX_PATH);
strlwr (buf1);
strlwr (buf);
char *p = strchr (buf, '=');
if (!p)
p = (char *) "gdb.exe -nw";