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/sparc/mdb/kvm_v9dep.c
          +++ new/usr/src/cmd/mdb/sparc/mdb/kvm_v9dep.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   * Libkvm Kernel Target SPARC v9 component
  30   30   *
  31   31   * This file provides the ISA-dependent portion of the libkvm kernel target.
  32   32   * For more details on the implementation refer to mdb_kvm.c.  The SPARC v9
  33   33   * ISA code is actually compiled into *both* the sparcv7 and sparcv9 MDB
  34   34   * binaries because we need to deal with the sparcv9 CPU registers when
  35   35   * debugging a 32-bit crash dump from a kernel running on a sparcv9 CPU.
  36   36   */
  37   37  
↓ open down ↓ 172 lines elided ↑ open up ↑
 210  210          kt_mapping_iter,                        /* t_mapping_iter */
 211  211          kt_object_iter,                         /* t_object_iter */
 212  212          kt_addr_to_map,                         /* t_addr_to_map */
 213  213          kt_name_to_map,                         /* t_name_to_map */
 214  214          kt_addr_to_ctf,                         /* t_addr_to_ctf */
 215  215          kt_name_to_ctf,                         /* t_name_to_ctf */
 216  216          kt_status,                              /* t_status */
 217  217          (int (*)()) mdb_tgt_notsup,             /* t_run */
 218  218          (int (*)()) mdb_tgt_notsup,             /* t_step */
 219  219          (int (*)()) mdb_tgt_notsup,             /* t_step_out */
 220      -        (int (*)()) mdb_tgt_notsup,             /* t_step_branch */
 221  220          (int (*)()) mdb_tgt_notsup,             /* t_next */
 222  221          (int (*)()) mdb_tgt_notsup,             /* t_cont */
 223  222          (int (*)()) mdb_tgt_notsup,             /* t_signal */
 224  223          (int (*)()) mdb_tgt_null,               /* t_add_vbrkpt */
 225  224          (int (*)()) mdb_tgt_null,               /* t_add_sbrkpt */
 226  225          (int (*)()) mdb_tgt_null,               /* t_add_pwapt */
 227  226          (int (*)()) mdb_tgt_null,               /* t_add_iowapt */
 228  227          (int (*)()) mdb_tgt_null,               /* t_add_vwapt */
 229  228          (int (*)()) mdb_tgt_null,               /* t_add_sysenter */
 230  229          (int (*)()) mdb_tgt_null,               /* t_add_sysexit */
↓ open down ↓ 143 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX