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/mdb/mdb_value.c
          +++ new/usr/src/cmd/mdb/common/mdb/mdb_value.c
↓ 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 2008 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      -#pragma ident   "%Z%%M% %I%     %E% SMI"
  27      -
  28   28  /*
  29   29   * Immediate Value Target
  30   30   *
  31   31   * The immediate value target is used when the '=' verb is used to
  32   32   * format an immediate value, or with ::print -i.  The target is
  33   33   * initialized with a specific value, and then simply copies bytes from
  34   34   * this integer in its read routine.  Two notes:
  35   35   *
  36   36   * (1) the address parameter of value_read is treated as an offset into
  37   37   * the immediate value.
↓ open down ↓ 97 lines elided ↑ open up ↑
 135  135          (int (*)()) mdb_tgt_notsup,             /* t_mapping_iter */
 136  136          (int (*)()) mdb_tgt_notsup,             /* t_object_iter */
 137  137          (const mdb_map_t *(*)()) mdb_tgt_null,  /* t_addr_to_map */
 138  138          (const mdb_map_t *(*)()) mdb_tgt_null,  /* t_name_to_map */
 139  139          (struct ctf_file *(*)()) mdb_tgt_null,  /* t_addr_to_ctf */
 140  140          (struct ctf_file *(*)()) mdb_tgt_null,  /* t_name_to_ctf */
 141  141          (int (*)()) mdb_tgt_notsup,             /* t_status */
 142  142          (int (*)()) mdb_tgt_notsup,             /* t_run */
 143  143          (int (*)()) mdb_tgt_notsup,             /* t_step */
 144  144          (int (*)()) mdb_tgt_notsup,             /* t_step_out */
 145      -        (int (*)()) mdb_tgt_notsup,             /* t_step_branch */
 146  145          (int (*)()) mdb_tgt_notsup,             /* t_next */
 147  146          (int (*)()) mdb_tgt_notsup,             /* t_cont */
 148  147          (int (*)()) mdb_tgt_notsup,             /* t_signal */
 149  148          (int (*)()) mdb_tgt_null,               /* t_add_vbrkpt */
 150  149          (int (*)()) mdb_tgt_null,               /* t_add_sbrkpt */
 151  150          (int (*)()) mdb_tgt_null,               /* t_add_pwapt */
 152  151          (int (*)()) mdb_tgt_null,               /* t_add_vwapt */
 153  152          (int (*)()) mdb_tgt_null,               /* t_add_iowapt */
 154  153          (int (*)()) mdb_tgt_null,               /* t_add_sysenter */
 155  154          (int (*)()) mdb_tgt_null,               /* t_add_sysexit */
↓ open down ↓ 35 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX