dtrace, mdb_v8: support more string, frame types
authorDave Pacheco <dap@joyent.com>
Mon, 7 Oct 2013 20:17:49 +0000 (13:17 -0700)
committerTimothy J Fontaine <tjfontaine@gmail.com>
Tue, 8 Oct 2013 20:48:53 +0000 (13:48 -0700)
commit5921158cbe29465ce61285b42c14bfd4433f4b48
treef41184c2dfd9e1c1cd02cae188e4c23ba140c9d7
parent406846fcc5193b587d724e0d9a516b581458d499
dtrace, mdb_v8: support more string, frame types

This change makes several improvements to the ustack helper and MDB
support:

- ustack helper and MDB: add support for two-byte strings
  (necessary to print many filenames in stacktraces in 0.10 and later).
- ustack helper: fix position numbers, which were off by a factor of two
- ustack helper: fix frames with undefined Scripts (e.g., "RegExp")
- ustack helper: add stub frames
- MDB: add support for sliced strings
- MDB: sync up with changes from the illumos version of the module

Fixes #6309
Closes #6318
deps/mdb_v8/mdb_v8.c
deps/mdb_v8/v8dbg.h
src/v8abbr.h
src/v8ustack.d