tplist: Print one-based location and argument indices
authorSasha Goldshtein <goldshtn@gmail.com>
Mon, 16 Jan 2017 18:36:52 +0000 (18:36 +0000)
committerSasha Goldshtein <goldshtn@gmail.com>
Tue, 17 Jan 2017 07:42:39 +0000 (07:42 +0000)
commit50486ff50fa3e049f4620d47e82db41dde71f815
tree7da3904c43383e0f6726c21a0244f414630dd1c6
parent7e78f3a6a69e0c6cb6e2acc88386c4a9ffa253b6
tplist: Print one-based location and argument indices

The `trace` and `argdist` tools expect location and argument indices
to start at 1 -- the first argument is arg1, and so on. The `tplist`
tool now prints UDST argument indices (and location indices, for
consistency) as 1-based as well.
tools/tplist.py