diff options
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/valprint.c | 1 | ||||
-rw-r--r-- | gdb/win32-nat.c | 2 | ||||
-rw-r--r-- | gdb/windows-nat.c | 2 |
4 files changed, 6 insertions, 4 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index c7e9072..745438f 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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. diff --git a/gdb/valprint.c b/gdb/valprint.c index 3feb915..5af31ea 100644 --- a/gdb/valprint.c +++ b/gdb/valprint.c @@ -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); diff --git a/gdb/win32-nat.c b/gdb/win32-nat.c index 7f5310e..fab5d03 100644 --- a/gdb/win32-nat.c +++ b/gdb/win32-nat.c @@ -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 = '/'; diff --git a/gdb/windows-nat.c b/gdb/windows-nat.c index 7f5310e..fab5d03 100644 --- a/gdb/windows-nat.c +++ b/gdb/windows-nat.c @@ -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 = '/'; |