[BACK]Return to vchain CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / gdbscripts

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/gdbscripts/vchain between version 1.8 and 1.9

version 1.8, 2016/12/14 15:48:55 version 1.9, 2017/04/13 09:52:18
Line 53  print vnode chains for all mount points
Line 53  print vnode chains for all mount points
 end  end
   
 define mountdump  define mountdump
         set $mp=mountlist.tqh_first          set $me=mount_list.tqh_first
         while ($mp)          while ($me)
                 printf "%s on %s type %s, (mp 0x%x, privdata 0x%x)\n", \                  if ($me->me_type == ME_MOUNT)
                     $mp->mnt_stat->f_mntfromname, $mp->mnt_stat->f_mntonname, \                          set $mp = $me->me_mount
                     $mp->mnt_op->vfs_name, $mp, $mp->mnt_data                          printf "%s on %s type %s, (mp 0x%x, privdata 0x%x)\n", \
                 set $mp=$mp->mnt_list.tqe_next                              $mp->mnt_stat->f_mntfromname, \
                 if ((const void *)$mp == (const void *)&mountlist)                              $mp->mnt_stat->f_mntonname, \
                         set $mp = 0                              $mp->mnt_op->vfs_name, $mp, $mp->mnt_data
                   end
                   set $me=$me->me_list.tqe_next
                   if ((const void *)$me == (const void *)&mount_list)
                           set $me = 0
                 end                  end
         end          end
 end  end

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

CVSweb <webmaster@jp.NetBSD.org>