X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Fwindows-nat.h;h=471d12fa881c3586f256f4ea5015ed817eb14457;hb=07169ff772077f566c6540f623d7d609babc4c81;hp=6b8287dd631196b8f0be6e76b977513d3688aab5;hpb=7e63b4e466c57fbcaaf1caa1ca7be1a8ed129934;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/windows-nat.h b/gdb/windows-nat.h index 6b8287dd63..471d12fa88 100644 --- a/gdb/windows-nat.h +++ b/gdb/windows-nat.h @@ -1,4 +1,4 @@ -/* Copyright 2008, 2009 Free Software Foundation, Inc. +/* Copyright (C) 2008-2016 Free Software Foundation, Inc. This file is part of GDB. @@ -15,10 +15,18 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -#ifndef WIN32_NAT_H -#define WIN32_NAT_H +#ifndef WINDOWS_NAT_H +#define WINDOWS_NAT_H -extern void win32_set_context_register_offsets (const int *offsets); +extern void windows_set_context_register_offsets (const int *offsets); + +/* A pointer to a function that should return non-zero iff REGNUM + corresponds to one of the segment registers. */ +typedef int (segment_register_p_ftype) (int regnum); + +/* Set the function that should be used by this module to determine + whether a given register is a segment register or not. */ +extern void windows_set_segment_register_p (segment_register_p_ftype *fun); #endif