* win32-nat.c (handle_load_dll): Avoid strlwr'ing loaded DLLs or cygwin may not

be able to read them in certain situations.
This commit is contained in:
Christopher Faylor 2001-10-20 05:11:41 +00:00
parent 457174f645
commit 83413c558c
4 changed files with 6 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2001-10-20 Christopher Faylor <cgf@redhat.com>
* win32-nat.c (handle_load_dll): Avoid strlwr'ing loaded DLLs or cygwin
may not be able to read them in certain situations.
2001-10-18 Andrew Cagney <ac131313@redhat.com>
* config/powerpc/nbsd.mt (SIM_OBS, SIM): Define.

View File

@ -1149,6 +1149,7 @@ val_print_string (CORE_ADDR addr, int len, int width, struct ui_file *stream)
found_nul = 0;
old_chain = make_cleanup (null_cleanup, 0);
bufptr = NULL;
if (len > 0)
{
buffer = (char *) xmalloc (len * width);

View File

@ -600,8 +600,6 @@ handle_load_dll (void *dummy ATTRIBUTE_UNUSED)
if (!dll_name)
return 1;
(void) strlwr (dll_name);
while ((p = strchr (dll_name, '\\')))
*p = '/';

View File

@ -600,8 +600,6 @@ handle_load_dll (void *dummy ATTRIBUTE_UNUSED)
if (!dll_name)
return 1;
(void) strlwr (dll_name);
while ((p = strchr (dll_name, '\\')))
*p = '/';