Index: gdb/common/break-common.h |
diff --git a/gdb/config/i386/nm-fbsd.h b/gdb/common/break-common.h |
similarity index 62% |
copy from gdb/config/i386/nm-fbsd.h |
copy to gdb/common/break-common.h |
index be1a67218885bac4657a8eeead90124567f6f288..16ed0e214ec12b95522f03cdfd7f30c9bcd4b55b 100644 |
--- a/gdb/config/i386/nm-fbsd.h |
+++ b/gdb/common/break-common.h |
@@ -1,7 +1,6 @@ |
-/* Native-dependent definitions for FreeBSD/i386. |
- |
- Copyright 1986-1987, 1989, 1992, 1994, 1996-1997, 2000-2001, |
- 2004-2005, 2007-2012 Free Software Foundation, Inc. |
+/* Data structures associated with breakpoints shared in both GDB and |
+ GDBserver. |
+ Copyright (C) 1992-2013 Free Software Foundation, Inc. |
This file is part of GDB. |
@@ -17,12 +16,15 @@ |
You should have received a copy of the GNU General Public License |
along with this program. If not, see <http://www.gnu.org/licenses/>. */ |
+#ifndef BREAK_COMMON_H |
+#define BREAK_COMMON_H 1 |
-#ifndef NM_FBSD_H |
-#define NM_FBSD_H |
+enum target_hw_bp_type |
+ { |
+ hw_write = 0, /* Common HW watchpoint */ |
+ hw_read = 1, /* Read HW watchpoint */ |
+ hw_access = 2, /* Access HW watchpoint */ |
+ hw_execute = 3 /* Execute HW breakpoint */ |
+ }; |
-#ifdef HAVE_SYS_PARAM_H |
-#include <sys/param.h> |
#endif |
- |
-#endif /* nm-fbsd.h */ |