X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Fi386bsd-nat.h;h=7bf53f3c0c32c9f9b32cbcb10145c63af32ad54f;hb=81ecdfbb4d56574d58dba939f419722a7cf0de91;hp=c9e5b31b50e6e9f3061ba223359665e35866fee6;hpb=01f0fe5e0450edf168c1f612feb93cf588e4e7ea;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/i386bsd-nat.h b/gdb/i386bsd-nat.h index c9e5b31b50..7bf53f3c0c 100644 --- a/gdb/i386bsd-nat.h +++ b/gdb/i386bsd-nat.h @@ -1,12 +1,12 @@ /* Native-dependent code for modern i386 BSD's. - Copyright (C) 2004 Free Software Foundation, Inc. + Copyright (C) 2004, 2007, 2008, 2009 Free Software Foundation, Inc. This file is part of GDB. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or + the Free Software Foundation; either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, @@ -15,9 +15,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. */ + along with this program. If not, see . */ #ifndef I386BSD_NAT_H #define I386BSD_NAT_H @@ -27,4 +25,14 @@ extern struct target_ops *i386bsd_target (void); +/* low level i386 debug register functions used in i386fbsd-nat.c. */ + +extern void i386bsd_dr_set_control (unsigned long control); + +extern void i386bsd_dr_set_addr (int regnum, CORE_ADDR addr); + +extern void i386bsd_dr_reset_addr (int regnum); + +extern unsigned long i386bsd_dr_get_status (void); + #endif /* i386bsd-nat.h */