diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2013-03-11 03:18:59 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2013-03-11 03:18:59 +0100 |
commit | df49b22d24dc714b733e4df2e21a200cb134c74a (patch) | |
tree | 27673e0656200dffdd67cdec3a5e134ac3657eed | |
parent | 6a234201081156e6d5742e7eeabb68418b518fad (diff) |
Fix build without kdb
* i386/i386/db_interface.h [! MACH_KBD] (db_set_hw_watchpoint,
db_clear_hw_watchpoint, db_dr): Do not declare functions.
-rw-r--r-- | i386/i386/db_interface.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/i386/i386/db_interface.h b/i386/i386/db_interface.h index e1b2dff..3f6821d 100644 --- a/i386/i386/db_interface.h +++ b/i386/i386/db_interface.h @@ -74,6 +74,7 @@ extern void db_task_name (task_t task); #define I386_DB_LOCAL 1 #define I386_DB_GLOBAL 2 +#if MACH_KDB extern boolean_t db_set_hw_watchpoint( db_watchpoint_t watch, unsigned num); @@ -87,6 +88,7 @@ extern void db_dr ( int type, int len, int persistence); +#endif extern void db_get_debug_state( pcb_t pcb, |