diff options
Diffstat (limited to 'ddb/db_break.c')
-rw-r--r-- | ddb/db_break.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/ddb/db_break.c b/ddb/db_break.c index d8273ea..e41834d 100644 --- a/ddb/db_break.c +++ b/ddb/db_break.c @@ -90,7 +90,7 @@ db_breakpoint_free(bkpt) static int db_add_thread_breakpoint(bkpt, task_thd, count, task_bpt) - db_breakpoint_t bkpt; + const db_breakpoint_t bkpt; vm_offset_t task_thd; int count; boolean_t task_bpt; @@ -156,8 +156,8 @@ db_delete_thread_breakpoint(bkpt, task_thd) static db_thread_breakpoint_t db_find_thread_breakpoint(bkpt, thread) - db_breakpoint_t bkpt; - thread_t thread; + const db_breakpoint_t bkpt; + const thread_t thread; { db_thread_breakpoint_t tp; task_t task = (thread == THREAD_NULL)? TASK_NULL: thread->task; @@ -176,7 +176,7 @@ db_find_thread_breakpoint(bkpt, thread) db_thread_breakpoint_t db_find_thread_breakpoint_here(task, addr) - task_t task; + const task_t task; db_addr_t addr; { db_breakpoint_t bkpt; @@ -268,10 +268,10 @@ db_check_breakpoint_valid(void) db_breakpoint_t db_set_breakpoint(task, addr, count, thread, task_bpt) - task_t task; + const task_t task; db_addr_t addr; int count; - thread_t thread; + const thread_t thread; boolean_t task_bpt; { db_breakpoint_t bkpt; @@ -321,7 +321,7 @@ db_set_breakpoint(task, addr, count, thread, task_bpt) void db_delete_breakpoint(task, addr, task_thd) - task_t task; + const task_t task; db_addr_t addr; vm_offset_t task_thd; { @@ -352,7 +352,7 @@ db_delete_breakpoint(task, addr, task_thd) db_breakpoint_t db_find_breakpoint(task, addr) - task_t task; + const task_t task; db_addr_t addr; { db_breakpoint_t bkpt; @@ -368,7 +368,7 @@ db_find_breakpoint(task, addr) boolean_t db_find_breakpoint_here(task, addr) - task_t task; + const task_t task; db_addr_t addr; { db_breakpoint_t bkpt; @@ -681,7 +681,7 @@ db_breakpoint_cmd(addr, have_addr, count, modif) db_expr_t addr; int have_addr; db_expr_t count; - char * modif; + const char * modif; { int n; thread_t thread; |