aboutsummaryrefslogtreecommitdiff
path: root/gdb/win32-nat.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/win32-nat.c')
-rw-r--r--gdb/win32-nat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/win32-nat.c b/gdb/win32-nat.c
index 11e4fa1..24d8057 100644
--- a/gdb/win32-nat.c
+++ b/gdb/win32-nat.c
@@ -420,7 +420,7 @@ handle_load_dll (PTR dummy)
printf_unfiltered ("%x:%s", event->lpBaseOfDll, dll_name);
section_addrs.text_addr = (int) event->lpBaseOfDll + 0x1000;
- symbol_file_add (dll_name, 0, &section_addrs, 0, 0, 0, 1);
+ symbol_file_add (dll_name, 0, &section_addrs, 0, OBJF_SHARED);
printf_unfiltered ("\n");
return 1;