db_break.c (623) | db_break.c (798) |
---|---|
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 * $Id$ | 26 * $Id: db_break.c,v 1.2 1993/10/16 16:47:07 rgrimes Exp $ |
27 */ 28 29/* 30 * Author: David B. Golub, Carnegie Mellon University 31 * Date: 7/90 32 */ 33/* 34 * Breakpoints. 35 */ 36#include "param.h" | 27 */ 28 29/* 30 * Author: David B. Golub, Carnegie Mellon University 31 * Date: 7/90 32 */ 33/* 34 * Breakpoints. 35 */ 36#include "param.h" |
37#include "systm.h" |
|
37#include "proc.h" | 38#include "proc.h" |
38#include <machine/db_machdep.h> /* type definitions */ | 39#include "ddb/ddb.h" |
39 40#include <ddb/db_lex.h> 41#include <ddb/db_break.h> 42#include <ddb/db_access.h> 43#include <ddb/db_sym.h> 44#include <ddb/db_break.h> 45 46extern boolean_t db_map_equal(); --- 239 unchanged lines hidden (view full) --- 286 if (count == -1) 287 count = 1; 288 289 db_set_breakpoint(db_map_addr(addr), (db_addr_t)addr, count); 290} 291 292/* list breakpoints */ 293void | 40 41#include <ddb/db_lex.h> 42#include <ddb/db_break.h> 43#include <ddb/db_access.h> 44#include <ddb/db_sym.h> 45#include <ddb/db_break.h> 46 47extern boolean_t db_map_equal(); --- 239 unchanged lines hidden (view full) --- 287 if (count == -1) 288 count = 1; 289 290 db_set_breakpoint(db_map_addr(addr), (db_addr_t)addr, count); 291} 292 293/* list breakpoints */ 294void |
294db_listbreak_cmd() | 295db_listbreak_cmd(db_expr_t dummy1, int dummy2, db_expr_t dummy3, char *dummy4) |
295{ 296 db_list_breakpoints(); 297} 298 299#include <vm/vm_kern.h> 300 301/* 302 * We want ddb to be usable before most of the kernel has been --- 50 unchanged lines hidden --- | 296{ 297 db_list_breakpoints(); 298} 299 300#include <vm/vm_kern.h> 301 302/* 303 * We want ddb to be usable before most of the kernel has been --- 50 unchanged lines hidden --- |