Deleted Added
full compact
db_command.c (2056) db_command.c (2112)
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_command.c,v 1.5 1994/05/25 08:51:12 rgrimes Exp $
26 * $Id: db_command.c,v 1.6 1994/08/13 03:49:16 wollman Exp $
27 */
28
29/*
30 * Author: David B. Golub, Carnegie Mellon University
31 * Date: 7/90
32 */
33
34/*

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

298 db_next = db_dot;
299 }
300 }
301}
302
303/*
304 * 'show' commands
305 */
27 */
28
29/*
30 * Author: David B. Golub, Carnegie Mellon University
31 * Date: 7/90
32 */
33
34/*

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

298 db_next = db_dot;
299 }
300 }
301}
302
303/*
304 * 'show' commands
305 */
306extern void db_listbreak_cmd();
307extern void db_listwatch_cmd();
308extern void db_show_regs(), db_show_one_thread(), db_show_all_threads();
309extern void vm_map_print(), vm_object_print(), vm_page_print();
306
307extern void db_show_one_thread(), db_show_all_threads();
308extern void vm_page_print();
310/* extern void db_ps(); */
311extern void ipc_port_print();
312void db_show_help();
313
314struct command db_show_all_cmds[] = {
315#if 0
316 { "threads", db_show_all_threads, 0, 0 },
317 { "procs", db_ps, 0, 0 },

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

333 { "page", vm_page_print, 0, 0 },
334#endif
335#if 0
336 { "port", ipc_port_print, 0, 0 },
337#endif
338 { (char *)0, }
339};
340
309/* extern void db_ps(); */
310extern void ipc_port_print();
311void db_show_help();
312
313struct command db_show_all_cmds[] = {
314#if 0
315 { "threads", db_show_all_threads, 0, 0 },
316 { "procs", db_ps, 0, 0 },

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

332 { "page", vm_page_print, 0, 0 },
333#endif
334#if 0
335 { "port", ipc_port_print, 0, 0 },
336#endif
337 { (char *)0, }
338};
339
341extern void db_print_cmd(), db_examine_cmd(), db_set_cmd();
342extern void db_search_cmd();
343extern void db_write_cmd();
344extern void db_delete_cmd(), db_breakpoint_cmd();
345extern void db_deletewatch_cmd(), db_watchpoint_cmd();
346extern void db_single_step_cmd(), db_trace_until_call_cmd(),
347 db_trace_until_matching_cmd(), db_continue_cmd();
348extern void db_stack_trace_cmd();
349void db_help_cmd();
350void db_fncall();
351
352struct command db_command_table[] = {
353 { "print", db_print_cmd, 0, 0 },
354 { "examine", db_examine_cmd, CS_SET_DOT, 0 },
355 { "x", db_examine_cmd, CS_SET_DOT, 0 },
356 { "search", db_search_cmd, CS_OWN|CS_SET_DOT, 0 },

--- 129 unchanged lines hidden ---
340void db_help_cmd();
341void db_fncall();
342
343struct command db_command_table[] = {
344 { "print", db_print_cmd, 0, 0 },
345 { "examine", db_examine_cmd, CS_SET_DOT, 0 },
346 { "x", db_examine_cmd, CS_SET_DOT, 0 },
347 { "search", db_search_cmd, CS_OWN|CS_SET_DOT, 0 },

--- 129 unchanged lines hidden ---