X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Fi386bsd-nat.h;h=a11f5547d4fd967545e3ba793f6a78de54619cc0;hb=b480a4819bb85f0d8004cc0904e7a2eeb03cb2b7;hp=977895ca24c2f9168d2c4b089242db5f4fad8fa3;hpb=a9762ec78a53fbe9209fe1654db42df0cd328d50;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/i386bsd-nat.h b/gdb/i386bsd-nat.h index 977895ca24..a11f5547d4 100644 --- a/gdb/i386bsd-nat.h +++ b/gdb/i386bsd-nat.h @@ -1,6 +1,6 @@ /* Native-dependent code for modern i386 BSD's. - Copyright (C) 2004, 2007 Free Software Foundation, Inc. + Copyright (C) 2004-2015 Free Software Foundation, Inc. This file is part of GDB. @@ -25,4 +25,16 @@ 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 CORE_ADDR i386bsd_dr_get_addr (int regnum); + +extern unsigned long i386bsd_dr_get_status (void); + +extern unsigned long i386bsd_dr_get_control (void); + #endif /* i386bsd-nat.h */