db_command.c (f23b4c91c4fb94e1bb6aeb4e7747f4ccf7767b41) db_command.c (8a129caed5f1b834a2d3f825478f5f0273f9cb9d)
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.6 1994/08/13 03:49:16 wollman Exp $
26 * $Id: db_command.c,v 1.7 1994/08/18 22:34:20 wollman Exp $
27 */
28
29/*
30 * Author: David B. Golub, Carnegie Mellon University
31 * Date: 7/90
32 */
33
34/*

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

301}
302
303/*
304 * 'show' commands
305 */
306
307extern void db_show_one_thread(), db_show_all_threads();
308extern void vm_page_print();
27 */
28
29/*
30 * Author: David B. Golub, Carnegie Mellon University
31 * Date: 7/90
32 */
33
34/*

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

301}
302
303/*
304 * 'show' commands
305 */
306
307extern void db_show_one_thread(), db_show_all_threads();
308extern void vm_page_print();
309/* extern void db_ps(); */
309extern 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 },
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 },
317#endif
316#endif
317 { "procs", db_ps, 0, 0 },
318 { (char *)0 }
319};
320
321struct command db_show_cmds[] = {
322 { "all", 0, 0, db_show_all_cmds },
323 { "registers", db_show_regs, 0, 0 },
324 { "breaks", db_listbreak_cmd, 0, 0 },
325 { "watches", db_listwatch_cmd, 0, 0 },

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

358 { "continue", db_continue_cmd, 0, 0 },
359 { "c", db_continue_cmd, 0, 0 },
360 { "until", db_trace_until_call_cmd,0, 0 },
361 { "next", db_trace_until_matching_cmd,0, 0 },
362 { "match", db_trace_until_matching_cmd,0, 0 },
363 { "trace", db_stack_trace_cmd, 0, 0 },
364 { "call", db_fncall, CS_OWN, 0 },
365 { "show", 0, 0, db_show_cmds },
318 { (char *)0 }
319};
320
321struct command db_show_cmds[] = {
322 { "all", 0, 0, db_show_all_cmds },
323 { "registers", db_show_regs, 0, 0 },
324 { "breaks", db_listbreak_cmd, 0, 0 },
325 { "watches", db_listwatch_cmd, 0, 0 },

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

358 { "continue", db_continue_cmd, 0, 0 },
359 { "c", db_continue_cmd, 0, 0 },
360 { "until", db_trace_until_call_cmd,0, 0 },
361 { "next", db_trace_until_matching_cmd,0, 0 },
362 { "match", db_trace_until_matching_cmd,0, 0 },
363 { "trace", db_stack_trace_cmd, 0, 0 },
364 { "call", db_fncall, CS_OWN, 0 },
365 { "show", 0, 0, db_show_cmds },
366#if 0
367 { "ps", db_ps, 0, 0 },
366 { "ps", db_ps, 0, 0 },
368#endif
369 { (char *)0, }
370};
371
372struct command *db_last_command = 0;
373
374void
375db_help_cmd()
376{

--- 100 unchanged lines hidden ---
367 { (char *)0, }
368};
369
370struct command *db_last_command = 0;
371
372void
373db_help_cmd()
374{

--- 100 unchanged lines hidden ---