diff options
author | Christopher Faylor <me+cygwin@cgf.cx> | 2001-10-20 05:11:41 +0000 |
---|---|---|
committer | Christopher Faylor <me+cygwin@cgf.cx> | 2001-10-20 05:11:41 +0000 |
commit | 83413c558cdca7744ef4dcdff82678a5ea3e31c0 (patch) | |
tree | 5ad19d4d928e05dcd857ee3f87813e9cad4d4300 /gdb/valprint.c | |
parent | 457174f64589daa9de82ec30b109e69b1e28ce3b (diff) | |
download | gdb-83413c558cdca7744ef4dcdff82678a5ea3e31c0.zip gdb-83413c558cdca7744ef4dcdff82678a5ea3e31c0.tar.gz gdb-83413c558cdca7744ef4dcdff82678a5ea3e31c0.tar.bz2 |
* win32-nat.c (handle_load_dll): Avoid strlwr'ing loaded DLLs or cygwin may not
be able to read them in certain situations.
Diffstat (limited to 'gdb/valprint.c')
-rw-r--r-- | gdb/valprint.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); |