* win32-nat.c (get_relocated_section_addrs): Reinstate.
authorChristopher Faylor <me+cygwin@cgf.cx>
Tue, 1 Nov 2005 05:08:29 +0000 (05:08 +0000)
committerChristopher Faylor <me+cygwin@cgf.cx>
Tue, 1 Nov 2005 05:08:29 +0000 (05:08 +0000)
commit3cb8e7f69cf29d2b1e994ef7790e58950636ab1d
treed94a5c91af376e045c2d9fe1faa8f149dd9a0d0c
parent44075ae21c147030e0b45fd5789bc67b719eb591
* win32-nat.c (get_relocated_section_addrs): Reinstate.
(solib_symbols_add): New function.
(lm_info): Remove end_addr field.
(register_loaded_dll): Don't try to find end_addr since gdb will do this
automatically now.  Make so_original_name == so_name for now.  Eliminate strcpy
by using so_name directly.  Read in symbols if new paramater "readsyms" is
true.
(handle_load_dll): Pass auto_solib_add to register_loaded_dll to control when
symbols should be read.
(win32_free_so): Don't free objfile here.
(win32_create_inferior_hook): New function.
(handle_unload_dll): Remove left-over cruft.
(win32_special_symbol_handling): New (dummy) function.
(map_single_dll_code_section): Reinstate.
(dll_code_sections_add): Reinstate.
(core_section_load_dll_symbols): Reinstate.  Don't issue an error on duplicate
attempts to read same dll.  Make sure that UNIX-like name is used to register
DLL.
(win32_current_sos): Handle core files.  Reset private list before passing
start of list pointer to gdb.
(init_win32_ops): Fill out (currently unused) solib_create_inferior_hook.  Fill
out special_symbol_handling.
* config/i386/tm-cygwin.h: Remove most special solib stuff.
gdb/ChangeLog
gdb/config/i386/tm-cygwin.h
gdb/win32-nat.c
gdb/windows-nat.c