|
|
1.1 root 1: /*
2: * Mach Operating System
3: * Copyright (c) 1991 Carnegie Mellon University
4: * All Rights Reserved.
5: *
6: * Permission to use, copy, modify and distribute this software and its
7: * documentation is hereby granted, provided that both the copyright
8: * notice and this permission notice appear in all copies of the
9: * software, derivative works or modified versions, and any portions
10: * thereof, and that both notices appear in supporting documentation.
11: *
12: * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
13: * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR
14: * ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
15: *
16: * Carnegie Mellon requests users of this software to return to
17: *
18: * Software Distribution Coordinator or [email protected]
19: * School of Computer Science
20: * Carnegie Mellon University
21: * Pittsburgh PA 15213-3890
22: *
23: * any improvements or extensions that they make and grant Carnegie Mellon
24: * the rights to redistribute these changes.
25: */
26:
1.1.1.2 ! root 27: #include <kern/task.h>
! 28: #include <machine/db_machdep.h>
! 29:
1.1 root 30: extern int db_run_mode;
31:
32: /* modes the system may be running in */
33:
34: #define STEP_NONE 0
35: #define STEP_ONCE 1
36: #define STEP_RETURN 2
37: #define STEP_CALLT 3
38: #define STEP_CONTINUE 4
39: #define STEP_INVISIBLE 5
40: #define STEP_COUNT 6
1.1.1.2 ! root 41:
! 42: extern void db_single_step(db_regs_t *regs, task_t task);
! 43:
! 44: extern void db_single_step_cmd(
! 45: db_expr_t addr,
! 46: int have_addr,
! 47: db_expr_t count,
! 48: char *modif);
! 49:
! 50: void db_trace_until_call_cmd(
! 51: db_expr_t addr,
! 52: int have_addr,
! 53: db_expr_t count,
! 54: char * modif);
! 55:
! 56: void db_trace_until_matching_cmd(
! 57: db_expr_t addr,
! 58: int have_addr,
! 59: db_expr_t count,
! 60: char * modif);
! 61:
! 62: void db_continue_cmd(
! 63: db_expr_t addr,
! 64: int have_addr,
! 65: db_expr_t count,
! 66: char * modif);
! 67:
! 68: extern boolean_t db_in_single_step(void);
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.