Print this page
9210 remove KMDB branch debugging support
9211 ::crregs could do with cr2/cr3 support
9209 ::ttrace should be able to filter by thread
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Yuri Pankov <yuripv@yuripv.net>

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/mdb/common/kmdb/kmdb_dpi_impl.h
          +++ new/usr/src/cmd/mdb/common/kmdb/kmdb_dpi_impl.h
↓ open down ↓ 13 lines elided ↑ open up ↑
  14   14   * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15   15   * If applicable, add the following below this CDDL HEADER, with the
  16   16   * fields enclosed by brackets "[]" replaced with your own identifying
  17   17   * information: Portions Copyright [yyyy] [name of copyright owner]
  18   18   *
  19   19   * CDDL HEADER END
  20   20   */
  21   21  /*
  22   22   * Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
  23   23   * Use is subject to license terms.
       24 + *
       25 + * Copyright 2018 Joyent, Inc.
  24   26   */
  25   27  
  26   28  #ifndef _KMDB_DPI_IMPL_H
  27   29  #define _KMDB_DPI_IMPL_H
  28   30  
  29      -#pragma ident   "%Z%%M% %I%     %E% SMI"
  30      -
  31   31  #include <setjmp.h>
  32   32  #ifdef  __sparc
  33   33  #include <sys/regset.h>
  34   34  #endif  /* __sparc */
  35   35  #include <sys/types.h>
  36   36  
  37   37  #include <kmdb/kmdb_auxv.h>
  38   38  #include <kmdb/kmdb_dpi.h>
  39   39  #include <mdb/mdb_kreg.h>
  40   40  #include <mdb/mdb_target.h>
↓ open down ↓ 38 lines elided ↑ open up ↑
  79   79          int (*dpo_brkpt_disarm)(uintptr_t, mdb_instr_t);
  80   80  
  81   81          int (*dpo_wapt_validate)(kmdb_wapt_t *);
  82   82          int (*dpo_wapt_reserve)(kmdb_wapt_t *);
  83   83          void (*dpo_wapt_release)(kmdb_wapt_t *);
  84   84          void (*dpo_wapt_arm)(kmdb_wapt_t *);
  85   85          void (*dpo_wapt_disarm)(kmdb_wapt_t *);
  86   86          int (*dpo_wapt_match)(kmdb_wapt_t *);
  87   87  
  88   88          int (*dpo_step)(void);
  89      -#if defined(__i386) || defined(__amd64)
  90      -        void (*dpo_step_branch)(void);
  91      -#endif
  92   89  
  93   90          uintptr_t (*dpo_call)(uintptr_t, uint_t, const uintptr_t *);
  94   91  
  95   92          void (*dpo_dump_crumbs)(uintptr_t, int);
  96   93  
  97      -#if defined(__i386) || defined(__amd64)
  98      -        void (*dpo_msr_add)(const kdi_msr_t *);
  99      -        uint64_t (*dpo_msr_get)(int, uint_t);
 100      -#endif
 101      -
 102   94  #ifdef __sparc
 103   95          void (*dpo_kernpanic)(int);
 104   96  #endif
 105   97  };
 106   98  
 107   99  extern void (*kmdb_dpi_wrintr_fire)(void);
 108  100  
 109  101  extern dpi_ops_t kmdb_dpi_ops;
 110  102  
 111  103  extern void kmdb_dpi_resume_common(int);
↓ open down ↓ 15 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX