Skip to content

Commit

Permalink
3465 ::walk ... | ::<dcmd> misinterprets input as symbol names
Browse files Browse the repository at this point in the history
3466 ::tsd should handle missing/NULL values better
3467 mdb_ctf_vread() could be more useful
3468 mdb enhancements for zfs development
3470 ::whatis does not print callers from KMF_LITE
3473 mdb_get_module() returns wrong module
Reviewed by: Adam Leventhal <[email protected]>
Reviewed by: Eric Schrock <[email protected]>
Reviewed by: Dan Kimmel <[email protected]>
Reviewed by: Robert Mustacchi <[email protected]>
Approved by: Dan McDonald <[email protected]>
  • Loading branch information
ahrens authored and Christopher Siden committed Jan 31, 2013
1 parent 52fd748 commit 28e4da2
Show file tree
Hide file tree
Showing 17 changed files with 791 additions and 317 deletions.
3 changes: 2 additions & 1 deletion usr/src/cmd/mdb/common/mdb/mdb.c
Original file line number Diff line number Diff line change
Expand Up @@ -1391,7 +1391,8 @@ mdb_get_module(void)
return (NULL);

if (mdb.m_frame->f_wcbs && mdb.m_frame->f_wcbs->w_walker &&
mdb.m_frame->f_wcbs->w_walker->iwlk_modp)
mdb.m_frame->f_wcbs->w_walker->iwlk_modp &&
!mdb.m_frame->f_cbactive)
return (mdb.m_frame->f_wcbs->w_walker->iwlk_modp);

if (mdb.m_frame->f_cp && mdb.m_frame->f_cp->c_dcmd)
Expand Down
2 changes: 1 addition & 1 deletion usr/src/cmd/mdb/common/mdb/mdb_cmds.c
Original file line number Diff line number Diff line change
Expand Up @@ -2080,7 +2080,7 @@ cmd_dis(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv)
static int
walk_step(uintptr_t addr, const void *data, void *private)
{
mdb_printf("%lr\n", addr);
mdb_printf("%#lr\n", addr);
return (WALK_NEXT);
}

Expand Down
Loading

0 comments on commit 28e4da2

Please sign in to comment.