GDB (API)
|
00001 /* Copyright (C) 2008-2013 Free Software Foundation, Inc. 00002 00003 This file is part of GDB. 00004 00005 This program is free software; you can redistribute it and/or modify 00006 it under the terms of the GNU General Public License as published by 00007 the Free Software Foundation; either version 3 of the License, or 00008 (at your option) any later version. 00009 00010 This program is distributed in the hope that it will be useful, 00011 but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00013 GNU General Public License for more details. 00014 00015 You should have received a copy of the GNU General Public License 00016 along with this program. If not, see <http://www.gnu.org/licenses/>. */ 00017 00018 #ifndef WINDOWS_NAT_H 00019 #define WINDOWS_NAT_H 00020 00021 extern void windows_set_context_register_offsets (const int *offsets); 00022 00023 /* A pointer to a function that should return non-zero iff REGNUM 00024 corresponds to one of the segment registers. */ 00025 typedef int (segment_register_p_ftype) (int regnum); 00026 00027 /* Set the function that should be used by this module to determine 00028 whether a given register is a segment register or not. */ 00029 extern void windows_set_segment_register_p (segment_register_p_ftype *fun); 00030 00031 #endif 00032