summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/debug/debughlp.cpp
diff options
context:
space:
mode:
author R. Belmont <rb6502@users.noreply.github.com>2017-01-17 12:21:57 -0500
committer GitHub <noreply@github.com>2017-01-17 12:21:57 -0500
commit9d6a96e02fa837f2c699ff950fe6f26d2f7f467e (patch)
treea37cff7082a2784b46037c2b60fe3f429702e341 /src/emu/debug/debughlp.cpp
parentec4b0ff9f70dfb4b2d453d671ef7fb2acff642dd (diff)
parentd8d82358c351e7bf425717e1a22ec1faa2b02feb (diff)
Merge pull request #1987 from npwoods/tracesym_debugger_command
Created a new debugger command 'tracesym'
Diffstat (limited to 'src/emu/debug/debughlp.cpp')
-rw-r--r--src/emu/debug/debughlp.cpp17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/emu/debug/debughlp.cpp b/src/emu/debug/debughlp.cpp
index 5c3fb605969..dd46472abb2 100644
--- a/src/emu/debug/debughlp.cpp
+++ b/src/emu/debug/debughlp.cpp
@@ -86,6 +86,7 @@ static const help_item static_help_list[] =
" printf <format>[,<item>[,...]] -- prints one or more <item>s to the console using <format>\n"
" logerror <format>[,<item>[,...]] -- outputs one or more <item>s to the error.log\n"
" tracelog <format>[,<item>[,...]] -- outputs one or more <item>s to the trace file using <format>\n"
+ " tracesym <item>[,...]] -- outputs one or more <item>s to the trace file\n"
" history [<cpu>,<length>] -- outputs a brief history of visited opcodes\n"
" trackpc [<bool>,<cpu>,<bool>] -- visually track visited opcodes [boolean to turn on and off, for the given cpu, clear]\n"
" trackmem [<bool>,<bool>] -- record which PC writes to each memory address [boolean to turn on and off, clear]\n"
@@ -385,6 +386,22 @@ static const help_item static_help_list[] =
" Outputs A=<aval>, B=<bval> on one line, and C=<a+bval> on a second line.\n"
},
{
+ "tracesym",
+ "\n"
+ " tracesym <item>[,...]\n"
+ "\n"
+ "The tracesym command prints the specified symbols and routes the output to the currently open trace "
+ "file (see the 'trace' command for details). If no file is currently open, tracesym does nothing. "
+ "\n"
+ "Examples:\n"
+ "\n"
+ "tracelog pc\n"
+ " Outputs PC=<pcval> where <pcval> is displayed in the default format.\n"
+ "\n"
+ "printf a,b\n"
+ " Outputs A=<aval>, B=<bval> on one line.\n"
+ },
+ {
"trackpc",
"\n"
" trackpc [<bool>,<cpu>,<bool>]\n"