about summary refs log tree commit diff stats
path: root/subx/001help.cc
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2019-04-28 01:00:24 -0700
committerKartik Agaram <vc@akkartik.com>2019-04-28 01:10:17 -0700
commit02684e8d7cb5292867ebcdea06879b94ba63aef4 (patch)
treefcd9005dea315966f9f611b9739f1d6e44b1f694 /subx/001help.cc
parentffe66972277c856f33e349b3d1fd1b2a6b5bfa2a (diff)
downloadmu-02684e8d7cb5292867ebcdea06879b94ba63aef4.tar.gz
5133 - show instruction source in trace
It's a little hacky in some corner cases. In particular, if debug information
isn't available the trace will contain duplicated lines. This is because
I don't want the core trace lines all my tests rely on (introduced in the
'vm' layer) to have to know about debug info (introduced in the 'labels'
and 'debug' layers).

Thanks Charles Saternos for the feedback and suggestion!
Diffstat (limited to 'subx/001help.cc')
-rw-r--r--subx/001help.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/subx/001help.cc b/subx/001help.cc
index 1b3f64dd..79589cf8 100644
--- a/subx/001help.cc
+++ b/subx/001help.cc
@@ -81,10 +81,8 @@ void init_help() {
     "- Add '--trace' to any of these commands to print a trace to stderr\n"
     "  for debugging purposes.\n"
     "- Add '--debug' to add information to traces. 'subx --debug translate' will\n"
-    "  save (to a file called 'labels') the mapping from labels to addresses that\n"
-    "  it computes during translation. This file is then available to\n"
-    "  'subx --debug --trace run' which prints out label names in the trace as it\n"
-    "  encounters them.\n"
+    "  save various mappings to files that 'subx --debug --trace run'\n"
+    "  can use to make traces more informative.\n"
     "\n"
     "Options starting with '--' must always come before any other arguments.\n"
     "\n"