diff options
author | Christopher Faylor <me+cygwin@cgf.cx> | 2000-08-27 04:21:35 +0000 |
---|---|---|
committer | Christopher Faylor <me+cygwin@cgf.cx> | 2000-08-27 04:21:35 +0000 |
commit | 8e860359d12cb3bcd60f1237576b85c5c6c8c7e5 (patch) | |
tree | 2722e2448de21c526ea804a942611182e00fb112 /gdb/config | |
parent | 69eb4bbf8e5cc604098d3136fc7d70ea94305afb (diff) | |
download | gdb-8e860359d12cb3bcd60f1237576b85c5c6c8c7e5.zip gdb-8e860359d12cb3bcd60f1237576b85c5c6c8c7e5.tar.gz gdb-8e860359d12cb3bcd60f1237576b85c5c6c8c7e5.tar.bz2 |
* 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.
Diffstat (limited to 'gdb/config')
-rw-r--r-- | gdb/config/i386/cygwin.mh | 2 | ||||
-rw-r--r-- | gdb/config/i386/tm-cygwin.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/gdb/config/i386/cygwin.mh b/gdb/config/i386/cygwin.mh index 54126f0..454f489 100644 --- a/gdb/config/i386/cygwin.mh +++ b/gdb/config/i386/cygwin.mh @@ -1,6 +1,6 @@ MH_CFLAGS= XM_FILE=xm-cygwin.h XDEPFILES= -NATDEPFILES= win32-nat.o +NATDEPFILES= win32-nat.o corelow.o NAT_FILE=../none/nm-none.h XM_CLIBS= 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); |