Deleted Added
full compact
db_run.c (50477) db_run.c (81670)
1/*
2 * Mach Operating System
3 * Copyright (c) 1991,1990 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 unchanged lines hidden (view full) ---

18 * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU
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 the
24 * rights to redistribute these changes.
25 *
1/*
2 * Mach Operating System
3 * Copyright (c) 1991,1990 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 unchanged lines hidden (view full) ---

18 * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU
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 the
24 * rights to redistribute these changes.
25 *
26 * $FreeBSD: head/sys/ddb/db_run.c 50477 1999-08-28 01:08:13Z peter $
26 * $FreeBSD: head/sys/ddb/db_run.c 81670 2001-08-15 03:38:49Z obrien $
27 */
28
29/*
30 * Author: David B. Golub, Carnegie Mellon University
31 * Date: 7/90
32 */
33
34/*

--- 155 unchanged lines hidden (view full) ---

190 /* XXX works on mips, but... */
191 if (inst_branch(ins) || inst_call(ins)) {
192 ins = db_get_value(next_instr_address(pc,1),
193 sizeof(int), FALSE);
194 db_inst_count++;
195 db_load_count += inst_load(ins);
196 db_store_count += inst_store(ins);
197 }
27 */
28
29/*
30 * Author: David B. Golub, Carnegie Mellon University
31 * Date: 7/90
32 */
33
34/*

--- 155 unchanged lines hidden (view full) ---

190 /* XXX works on mips, but... */
191 if (inst_branch(ins) || inst_call(ins)) {
192 ins = db_get_value(next_instr_address(pc,1),
193 sizeof(int), FALSE);
194 db_inst_count++;
195 db_load_count += inst_load(ins);
196 db_store_count += inst_store(ins);
197 }
198#endif SOFTWARE_SSTEP
198#endif /* SOFTWARE_SSTEP */
199 }
200
201 if (db_run_mode == STEP_CONTINUE) {
202 if (watchpt || db_find_breakpoint_here(pc)) {
203 /*
204 * Step over breakpoint/watchpoint.
205 */
206 db_run_mode = STEP_INVISIBLE;

--- 85 unchanged lines hidden (view full) ---

292 db_not_taken_bkpt = 0;
293 }
294 if (db_taken_bkpt != 0) {
295 db_delete_temp_breakpoint(db_taken_bkpt);
296 db_taken_bkpt = 0;
297 }
298}
299
199 }
200
201 if (db_run_mode == STEP_CONTINUE) {
202 if (watchpt || db_find_breakpoint_here(pc)) {
203 /*
204 * Step over breakpoint/watchpoint.
205 */
206 db_run_mode = STEP_INVISIBLE;

--- 85 unchanged lines hidden (view full) ---

292 db_not_taken_bkpt = 0;
293 }
294 if (db_taken_bkpt != 0) {
295 db_delete_temp_breakpoint(db_taken_bkpt);
296 db_taken_bkpt = 0;
297 }
298}
299
300#endif SOFTWARE_SSTEP
300#endif /* SOFTWARE_SSTEP */
301
302extern int db_cmd_loop_done;
303
304/* single-step */
305/*ARGSUSED*/
306void
307db_single_step_cmd(addr, have_addr, count, modif)
308 db_expr_t addr;

--- 87 unchanged lines hidden ---
301
302extern int db_cmd_loop_done;
303
304/* single-step */
305/*ARGSUSED*/
306void
307db_single_step_cmd(addr, have_addr, count, modif)
308 db_expr_t addr;

--- 87 unchanged lines hidden ---