diff options
author | Pedro Alves <palves@redhat.com> | 2007-09-04 01:12:18 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2007-09-04 01:12:18 +0000 |
commit | de1b3c3d02b5d4c969a36d3bddcedbbce2551d19 (patch) | |
tree | ef18f9fa0d94968479f00711f723b8ecceb7b9ac /gdb/i386-cygwin-tdep.h | |
parent | 892bacea17dda72924ca78e04dc2e3015230abdc (diff) | |
download | gdb-de1b3c3d02b5d4c969a36d3bddcedbbce2551d19.zip gdb-de1b3c3d02b5d4c969a36d3bddcedbbce2551d19.tar.gz gdb-de1b3c3d02b5d4c969a36d3bddcedbbce2551d19.tar.bz2 |
* infcmd.c (post_create_inferior): Update comment.
(run_command_1): Always call post_create_inferior with 0 as
from_tty.
* i386-cygwin-tdep.h: New.
* i386-cygwin-tdep.c: Include "i386-cygwin-tdep.h".
(win32_xfer_shared_library): Make it extern.
* win32-nat.c: Include gdb_obstack.h and xml-support.h and
i386-cygwin-tdep.h.
(win32_so_ops): Delete.
(get_relocated_section_addrs): Delete.
(solib_symbols_add): Delete.
(register_loaded_dll): Delete.
(win32_make_so): New.
(handle_load_dll): Use win32_make_so.
(win32_free_so): Free the passed in so.
(win32_relocate_section_addresses): Delete.
(win32_solib_create_inferior_hook): Delete.
(handle_unload_dll): Don't add PE offset here. Free so with
win32_free_so instead of free_so.
(win32_special_symbol_handling): Delete.
(get_win32_debug_event): Remove unneeded calls. Set state to
TARGET_WAITKIND_LOADED on a dll unload.
(do_initial_win32_stuff): Clear cygwin_load_start and
cygwin_load_end.
(map_code_section_args): Delete.
(dll_code_sections_add): Delete.
(core_section_load_dll_symbols): Delete.
(win32_xfer_shared_libraries): New.
(win32_current_sos): Delete.
(win32_xfer_partial): New.
(open_symbol_file_object): Delete.
(in_dynsym_resolve_code): Delete.
(init_win32_ops): Set win32_xfer_partial as to_xfer_partial member
of win32_ops. Remove win32_so_ops settings. Don't set
current_target_so_ops here.
* Makefile.in (i386_cygwin_tdep_h): New variable.
(i386-cygwin-tdep.o): Update dependencies.
(win32-nat.o): Update dependencies.
Diffstat (limited to 'gdb/i386-cygwin-tdep.h')
-rw-r--r-- | gdb/i386-cygwin-tdep.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/gdb/i386-cygwin-tdep.h b/gdb/i386-cygwin-tdep.h new file mode 100644 index 0000000..dfca849 --- /dev/null +++ b/gdb/i386-cygwin-tdep.h @@ -0,0 +1,30 @@ +/* Target-dependent code for Cygwin running on i386's, for GDB. + + Copyright (C) 2007 + Free Software Foundation, Inc. + + This file is part of GDB. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. */ + +#ifndef I386_CYGWIN_TDEP_H +#define I386_CYGWIN_TDEP_H + +struct obstack; + +extern void win32_xfer_shared_library (const char* so_name, + CORE_ADDR load_addr, + struct obstack *obstack); + +#endif /* I386_CYGWIN_TDEP_H */ |