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_rawfile.c
          +++ new/usr/src/cmd/mdb/common/mdb/mdb_rawfile.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   * Raw File Target
  30   30   *
  31   31   * The raw file target is invoked whenever a file of unrecognizable type is
  32   32   * specified on the command line, or when raw file examination is forced using
  33   33   * the -f option.  If one file is specified, that file will be opened as the
  34   34   * "object" file.  If two files are specified, the second one will be opened
  35   35   * as the "core" file.  Each file is opened using the fdio backend, which
  36   36   * internally supports both byte-oriented i/o and block-oriented i/o as needed.
  37   37   */
↓ open down ↓ 346 lines elided ↑ open up ↑
 384  384          rf_mapping_iter,                        /* t_mapping_iter */
 385  385          rf_mapping_iter,                        /* t_object_iter */
 386  386          (const mdb_map_t *(*)()) mdb_tgt_null,  /* t_addr_to_map */
 387  387          (const mdb_map_t *(*)()) mdb_tgt_null,  /* t_name_to_map */
 388  388          (struct ctf_file *(*)()) mdb_tgt_null,  /* t_addr_to_ctf */
 389  389          (struct ctf_file *(*)()) mdb_tgt_null,  /* t_name_to_ctf */
 390  390          rf_status,                              /* t_status */
 391  391          (int (*)()) mdb_tgt_notsup,             /* t_run */
 392  392          (int (*)()) mdb_tgt_notsup,             /* t_step */
 393  393          (int (*)()) mdb_tgt_notsup,             /* t_step_out */
 394      -        (int (*)()) mdb_tgt_notsup,             /* t_step_branch */
 395  394          (int (*)()) mdb_tgt_notsup,             /* t_next */
 396  395          (int (*)()) mdb_tgt_notsup,             /* t_cont */
 397  396          (int (*)()) mdb_tgt_notsup,             /* t_signal */
 398  397          (int (*)()) mdb_tgt_null,               /* t_add_vbrkpt */
 399  398          (int (*)()) mdb_tgt_null,               /* t_add_sbrkpt */
 400  399          (int (*)()) mdb_tgt_null,               /* t_add_pwapt */
 401  400          (int (*)()) mdb_tgt_null,               /* t_add_vwapt */
 402  401          (int (*)()) mdb_tgt_null,               /* t_add_iowapt */
 403  402          (int (*)()) mdb_tgt_null,               /* t_add_sysenter */
 404  403          (int (*)()) mdb_tgt_null,               /* t_add_sysexit */
↓ open down ↓ 51 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX