From 8e860359d12cb3bcd60f1237576b85c5c6c8c7e5 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Sun, 27 Aug 2000 04:21:35 +0000 Subject: * win32-nat.c (dll_symbol_command): Tack a .dll on the end of a supplied argument if it is missing an extension. * corelow.c: Define O_BINARY if it isn't defined. (core_open): Open core file in binary mode. * config/i386/tm-cygwin.h (child_clear_solibs): Rename from child_clear_solib. * config/i386/cygwin.mh: Add dependency from corelow.o. * win32-nat.c (register_loaded_dll): New function. Add dll to the list of currently loaded dlls. (handle_load_dll): Use register_loaded_dll. (child_solib_add): Distinguish between active process and core targets. (solib_symbols_add): Load symbols from loaded dll. (core_dll_symbols_add): New function. Load symbols from dll referenced in core. (core_section_load_dll_symbols): New function. (dll_code_sections_add): New function. (map_single_dll_code_section): New function. (fetch_elf_core_registers): New function. (_initialize_core_win32): New function. --- gdb/config/i386/tm-cygwin.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gdb/config/i386/tm-cygwin.h') diff --git a/gdb/config/i386/tm-cygwin.h b/gdb/config/i386/tm-cygwin.h index bc3068d..1c6046a 100644 --- a/gdb/config/i386/tm-cygwin.h +++ b/gdb/config/i386/tm-cygwin.h @@ -33,12 +33,12 @@ extern CORE_ADDR skip_trampoline_code (CORE_ADDR pc, char *name); #define ATTACH_NO_WAIT #define SOLIB_ADD(filename, from_tty, targ) child_solib_add(filename, from_tty, targ) #define SOLIB_LOADED_LIBRARY_PATHNAME(pid) child_solib_loaded_library_pathname(pid) -#define CLEAR_SOLIB child_clear_solib +#define CLEAR_SOLIB child_clear_solibs #define ADD_SHARED_SYMBOL_FILES dll_symbol_command struct target_ops; char *cygwin_pid_to_str (int pid); void child_solib_add (char *, int, struct target_ops *); char *child_solib_loaded_library_pathname(int); -void child_clear_solib (void); +void child_clear_solibs (void); void dll_symbol_command (char *, int); -- cgit v1.1