* 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:
parent
457174f645
commit
83413c558c
@ -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>
|
2001-10-18 Andrew Cagney <ac131313@redhat.com>
|
||||||
|
|
||||||
* config/powerpc/nbsd.mt (SIM_OBS, SIM): Define.
|
* config/powerpc/nbsd.mt (SIM_OBS, SIM): Define.
|
||||||
|
@ -1149,6 +1149,7 @@ val_print_string (CORE_ADDR addr, int len, int width, struct ui_file *stream)
|
|||||||
found_nul = 0;
|
found_nul = 0;
|
||||||
old_chain = make_cleanup (null_cleanup, 0);
|
old_chain = make_cleanup (null_cleanup, 0);
|
||||||
|
|
||||||
|
bufptr = NULL;
|
||||||
if (len > 0)
|
if (len > 0)
|
||||||
{
|
{
|
||||||
buffer = (char *) xmalloc (len * width);
|
buffer = (char *) xmalloc (len * width);
|
||||||
|
@ -600,8 +600,6 @@ handle_load_dll (void *dummy ATTRIBUTE_UNUSED)
|
|||||||
if (!dll_name)
|
if (!dll_name)
|
||||||
return 1;
|
return 1;
|
||||||
|
|
||||||
(void) strlwr (dll_name);
|
|
||||||
|
|
||||||
while ((p = strchr (dll_name, '\\')))
|
while ((p = strchr (dll_name, '\\')))
|
||||||
*p = '/';
|
*p = '/';
|
||||||
|
|
||||||
|
@ -600,8 +600,6 @@ handle_load_dll (void *dummy ATTRIBUTE_UNUSED)
|
|||||||
if (!dll_name)
|
if (!dll_name)
|
||||||
return 1;
|
return 1;
|
||||||
|
|
||||||
(void) strlwr (dll_name);
|
|
||||||
|
|
||||||
while ((p = strchr (dll_name, '\\')))
|
while ((p = strchr (dll_name, '\\')))
|
||||||
*p = '/';
|
*p = '/';
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user