The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/ddb/db_run.h

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 /* 
    2  * Mach Operating System
    3  * Copyright (c) 1993,1991 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  * software, derivative works or modified versions, and any portions
   10  * thereof, and that both notices appear in supporting documentation.
   11  * 
   12  * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
   13  * CONDITION.  CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR
   14  * ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
   15  * 
   16  * Carnegie Mellon requests users of this software to return to
   17  * 
   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 Mellon 
   24  * the rights to redistribute these changes.
   25  */
   26 
   27 /*
   28  * HISTORY
   29  * $Log:        db_run.h,v $
   30  * Revision 2.4  93/11/17  16:24:52  dbg
   31  *      Added function prototypes for db_run.c.
   32  *      [93/10/11            dbg]
   33  * 
   34  * Revision 2.3  91/07/11  11:00:35  danner
   35  *      Copyright Fixes
   36  * 
   37  * Revision 2.2  91/07/09  23:16:05  danner
   38  *      Broken out of db_run.c because I needed access to the step mode in the 
   39  *      machine dependent luna88k debugger code.
   40  *      [91/07/09  00:47:31  danner]
   41  * 
   42  * Revision 2.2  91/04/11  00:13:39  mbj
   43  *      Added to support luna debugger interface. Broken out of db_run.c
   44  *      [91/03/18            danner]
   45  * 
   46  */
   47 
   48 #ifndef _DDB_DB_RUN_H_
   49 #define _DDB_DB_RUN_H_
   50 
   51 #include <mach/boolean.h>
   52 #include <kern/kern_types.h>
   53 #include <machine/db_machdep.h>
   54 
   55 extern int db_run_mode;
   56 
   57 /* modes the system may be running in */
   58 
   59 #define STEP_NONE       0
   60 #define STEP_ONCE       1
   61 #define STEP_RETURN     2
   62 #define STEP_CALLT      3
   63 #define STEP_CONTINUE   4
   64 #define STEP_INVISIBLE  5
   65 #define STEP_COUNT      6
   66 
   67 extern boolean_t
   68 db_stop_at_pc(
   69         boolean_t *is_breakpoint,
   70         task_t    task);
   71 
   72 extern void
   73 db_restart_at_pc(
   74         boolean_t watchpt,
   75         task_t    task);
   76 
   77 extern void
   78 db_single_step(
   79         db_regs_t *regs,
   80         task_t    task);
   81 
   82 extern boolean_t
   83 db_in_single_step(void);
   84 
   85 extern void
   86 db_single_step_cmd(
   87         db_expr_t       addr,
   88         int             have_addr,
   89         db_expr_t       count,
   90         char *          modif);
   91 
   92 extern void
   93 db_trace_until_call_cmd(
   94         db_expr_t       addr,
   95         int             have_addr,
   96         db_expr_t       count,
   97         char *          modif);
   98 
   99 extern void
  100 db_trace_until_matching_cmd(
  101         db_expr_t       addr,
  102         int             have_addr,
  103         db_expr_t       count,
  104         char *          modif);
  105 
  106 extern void
  107 db_continue_cmd(
  108         db_expr_t       addr,
  109         int             have_addr,
  110         db_expr_t       count,
  111         char *          modif);
  112 
  113 #endif  /* _DDB_DB_RUN_H_ */
  114 

Cache object: bd5bd7dfb9c766471b87b0a1fa75b9a5


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.