forked from Imagelibrary/binutils-gdb
* win32-nat.c (register_loaded_dll): Just use raw name when we can't find the
complete path to a loaded DLL.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2002-02-21 Christopher Faylor <cgf@redhat.com>
|
||||
|
||||
* win32-nat.c (register_loaded_dll): Just use raw name when we can't
|
||||
find the complete path to a loaded DLL.
|
||||
|
||||
2002-02-21 Fred Fish <fnf@redhat.com>
|
||||
|
||||
* dbxread.c (process_one_symbol): When finding an N_FUN symbol
|
||||
|
||||
@@ -582,7 +582,9 @@ register_loaded_dll (const char *name, DWORD load_addr)
|
||||
HANDLE h = FindFirstFile(name, &w32_fd);
|
||||
size_t len;
|
||||
|
||||
if (h != INVALID_HANDLE_VALUE)
|
||||
if (h == INVALID_HANDLE_VALUE)
|
||||
strcpy (buf, name);
|
||||
else
|
||||
{
|
||||
FindClose (h);
|
||||
strcpy (buf, name);
|
||||
|
||||
@@ -582,7 +582,9 @@ register_loaded_dll (const char *name, DWORD load_addr)
|
||||
HANDLE h = FindFirstFile(name, &w32_fd);
|
||||
size_t len;
|
||||
|
||||
if (h != INVALID_HANDLE_VALUE)
|
||||
if (h == INVALID_HANDLE_VALUE)
|
||||
strcpy (buf, name);
|
||||
else
|
||||
{
|
||||
FindClose (h);
|
||||
strcpy (buf, name);
|
||||
|
||||
Reference in New Issue
Block a user