db_watch.c (12662) | db_watch.c (12720) |
---|---|
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: db_watch.c,v 1.8 1995/11/29 10:25:44 phk Exp $ | 26 * $Id: db_watch.c,v 1.9 1995/12/07 12:45:05 davidg Exp $ |
27 */ 28 29/* 30 * Author: Richard P. Draves, Carnegie Mellon University 31 * Date: 10/90 32 */ 33 34#include <sys/param.h> --- 14 unchanged lines hidden (view full) --- 49 50/* 51 * Watchpoints. 52 */ 53 54static boolean_t db_watchpoints_inserted = TRUE; 55 56#define NWATCHPOINTS 100 | 27 */ 28 29/* 30 * Author: Richard P. Draves, Carnegie Mellon University 31 * Date: 10/90 32 */ 33 34#include <sys/param.h> --- 14 unchanged lines hidden (view full) --- 49 50/* 51 * Watchpoints. 52 */ 53 54static boolean_t db_watchpoints_inserted = TRUE; 55 56#define NWATCHPOINTS 100 |
57struct db_watchpoint db_watch_table[NWATCHPOINTS]; | 57static struct db_watchpoint db_watch_table[NWATCHPOINTS]; |
58static db_watchpoint_t db_next_free_watchpoint = &db_watch_table[0]; 59static db_watchpoint_t db_free_watchpoints = 0; 60static db_watchpoint_t db_watchpoint_list = 0; 61 62static db_watchpoint_t db_watchpoint_alloc __P((void)); 63static void db_watchpoint_free __P((db_watchpoint_t watch)); 64static void db_delete_watchpoint __P((vm_map_t map, 65 db_addr_t addr)); --- 225 unchanged lines hidden --- | 58static db_watchpoint_t db_next_free_watchpoint = &db_watch_table[0]; 59static db_watchpoint_t db_free_watchpoints = 0; 60static db_watchpoint_t db_watchpoint_list = 0; 61 62static db_watchpoint_t db_watchpoint_alloc __P((void)); 63static void db_watchpoint_free __P((db_watchpoint_t watch)); 64static void db_delete_watchpoint __P((vm_map_t map, 65 db_addr_t addr)); --- 225 unchanged lines hidden --- |