xref: /openbsd-src/gnu/usr.bin/binutils/gdb/config/i386/tm-cygwin.h (revision 11efff7f3ac2b3cfeff0c0cddc14294d9b3aca4f)
1b725ae77Skettenis /* Macro definitions for i386 running under the win32 API Unix.
2*11efff7fSkettenis 
3*11efff7fSkettenis    Copyright 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2004 Free
4*11efff7fSkettenis    Software Foundation, Inc.
5b725ae77Skettenis 
6b725ae77Skettenis    This file is part of GDB.
7b725ae77Skettenis 
8b725ae77Skettenis    This program is free software; you can redistribute it and/or modify
9b725ae77Skettenis    it under the terms of the GNU General Public License as published by
10b725ae77Skettenis    the Free Software Foundation; either version 2 of the License, or
11b725ae77Skettenis    (at your option) any later version.
12b725ae77Skettenis 
13b725ae77Skettenis    This program is distributed in the hope that it will be useful,
14b725ae77Skettenis    but WITHOUT ANY WARRANTY; without even the implied warranty of
15b725ae77Skettenis    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16b725ae77Skettenis    GNU General Public License for more details.
17b725ae77Skettenis 
18b725ae77Skettenis    You should have received a copy of the GNU General Public License
19b725ae77Skettenis    along with this program; if not, write to the Free Software
20b725ae77Skettenis    Foundation, Inc., 59 Temple Place - Suite 330,
21b725ae77Skettenis    Boston, MA 02111-1307, USA.  */
22b725ae77Skettenis 
23b725ae77Skettenis #define ATTACH_NO_WAIT
24b725ae77Skettenis #define SOLIB_ADD(filename, from_tty, targ, readsyms) child_solib_add(filename, from_tty, targ, readsyms)
25b725ae77Skettenis #define PC_SOLIB(addr) solib_address (addr)
26b725ae77Skettenis #define SOLIB_LOADED_LIBRARY_PATHNAME(pid) child_solib_loaded_library_pathname(pid)
27b725ae77Skettenis #define CLEAR_SOLIB child_clear_solibs
28b725ae77Skettenis #define ADD_SHARED_SYMBOL_FILES dll_symbol_command
29b725ae77Skettenis 
30b725ae77Skettenis struct target_ops;
31b725ae77Skettenis char *cygwin_pid_to_str (ptid_t ptid);
32b725ae77Skettenis void child_solib_add (char *, int, struct target_ops *, int);
33b725ae77Skettenis char *solib_address (CORE_ADDR);
34b725ae77Skettenis char *child_solib_loaded_library_pathname(int);
35b725ae77Skettenis void child_clear_solibs (void);
36b725ae77Skettenis void dll_symbol_command (char *, int);
37