mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-06 06:45:56 +08:00
* 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:
@ -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