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.3 1993/11/25 01:30:04 wollman Exp $ |
27 */ 28 29/* 30 * Author: David B. Golub, Carnegie Mellon University 31 * Date: 7/90 32 */ 33 34/* --- 267 unchanged lines hidden (view full) --- 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(); |
310extern 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#endif |
318 { "procs", db_ps, 0, 0 }, |
319 { (char *)0 } 320}; 321 322struct command db_show_cmds[] = { 323 { "all", 0, 0, db_show_all_cmds }, 324 { "registers", db_show_regs, 0, 0 }, 325 { "breaks", db_listbreak_cmd, 0, 0 }, 326 { "watches", db_listwatch_cmd, 0, 0 }, --- 40 unchanged lines hidden (view full) --- 367 { "continue", db_continue_cmd, 0, 0 }, 368 { "c", db_continue_cmd, 0, 0 }, 369 { "until", db_trace_until_call_cmd,0, 0 }, 370 { "next", db_trace_until_matching_cmd,0, 0 }, 371 { "match", db_trace_until_matching_cmd,0, 0 }, 372 { "trace", db_stack_trace_cmd, 0, 0 }, 373 { "call", db_fncall, CS_OWN, 0 }, 374 { "show", 0, 0, db_show_cmds }, |
375 { "ps", db_ps, 0, 0 }, |
376 { (char *)0, } 377}; 378 379struct command *db_last_command = 0; 380 381void 382db_help_cmd() 383{ --- 100 unchanged lines hidden --- |