]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - gdb/config/i386/tm-cygwin.h
* config/i386/tm-cygwin.h, config/i386/tm-fbsd.h,
[thirdparty/binutils-gdb.git] / gdb / config / i386 / tm-cygwin.h
1 /* Macro definitions for i386 running under the win32 API Unix.
2 Copyright 1995, 1996, 1997, 1998, 1999, 2000
3 Free Software Foundation, Inc.
4
5 This file is part of GDB.
6
7 This program is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 2 of the License, or
10 (at your option) any later version.
11
12 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
16
17 You should have received a copy of the GNU General Public License
18 along with this program; if not, write to the Free Software
19 Foundation, Inc., 59 Temple Place - Suite 330,
20 Boston, MA 02111-1307, USA. */
21
22 /* Use SSE registers if winnt.h contains information about them. */
23 #ifdef HAVE_CONTEXT_EXTENDED_REGISTERS
24 #define HAVE_SSE_REGS
25 #else
26 #undef HAVE_SSE_REGS
27 #endif /* CONTEXT_EXTENDED_REGISTERS */
28
29 #include "i386/tm-i386.h"
30
31 #if 0
32 #define IN_SOLIB_CALL_TRAMPOLINE(pc, name) skip_trampoline_code (pc, name)
33 #define SKIP_TRAMPOLINE_CODE(pc) skip_trampoline_code (pc, 0)
34 extern CORE_ADDR skip_trampoline_code (CORE_ADDR pc, char *name);
35 #endif
36
37 #define ATTACH_NO_WAIT
38 #define SOLIB_ADD(filename, from_tty, targ, readsyms) child_solib_add(filename, from_tty, targ, readsyms)
39 #define SOLIB_LOADED_LIBRARY_PATHNAME(pid) child_solib_loaded_library_pathname(pid)
40 #define CLEAR_SOLIB child_clear_solibs
41 #define ADD_SHARED_SYMBOL_FILES dll_symbol_command
42
43 struct target_ops;
44 char *cygwin_pid_to_str (ptid_t ptid);
45 void child_solib_add (char *, int, struct target_ops *, int);
46 char *child_solib_loaded_library_pathname(int);
47 void child_clear_solibs (void);
48 void dll_symbol_command (char *, int);