X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Fwindows-tdep.h;h=cd7717bd9174576d8f6c6a477f1b1c3a33cb5f31;hb=refs%2Fheads%2Fconcurrent-displaced-stepping-2020-04-01;hp=20bf66d4ab60e3c0197f5d265c38e24e3903a5e8;hpb=a8e1bb344dad8bc875d9faf0c68d41bca8e142c1;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/windows-tdep.h b/gdb/windows-tdep.h index 20bf66d4ab..cd7717bd91 100644 --- a/gdb/windows-tdep.h +++ b/gdb/windows-tdep.h @@ -1,4 +1,4 @@ -/* Copyright (C) 2008-2012 Free Software Foundation, Inc. +/* Copyright (C) 2008-2020 Free Software Foundation, Inc. This file is part of GDB. @@ -27,11 +27,25 @@ extern void init_w32_command_list (void); extern void windows_xfer_shared_library (const char* so_name, CORE_ADDR load_addr, + CORE_ADDR *text_offset_cached, struct gdbarch *gdbarch, struct obstack *obstack); -extern void windows_iterate_over_objfiles_in_search_order - (struct gdbarch *gdbarch, - iterate_over_objfiles_in_search_order_cb_ftype *cb, - void *cb_data, struct objfile *current_objfile); +/* To be called from the various GDB_OSABI_WINDOWS handlers for the + various Windows architectures and machine types. */ + +extern void windows_init_abi (struct gdbarch_info info, + struct gdbarch *gdbarch); + +/* To be called from the various GDB_OSABI_CYGWIN handlers for the + various Windows architectures and machine types. */ + +extern void cygwin_init_abi (struct gdbarch_info info, + struct gdbarch *gdbarch); + +/* Return true if the Portable Executable behind ABFD uses the Cygwin dll + (cygwin1.dll). */ + +extern bool is_linked_with_cygwin_dll (bfd *abfd); + #endif