Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(693)

Unified Diff: gdb/common/break-common.h

Issue 124383005: GDB 7.6.50 (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@upstream
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gdb/common/ax.def ('k') | gdb/common/btrace-common.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 */
« no previous file with comments | « gdb/common/ax.def ('k') | gdb/common/btrace-common.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698