summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/debug/debughlp.cpp
diff options
context:
space:
mode:
author angelosa <salese_corp_ltd@email.it>2016-06-05 15:30:26 +0200
committer angelosa <salese_corp_ltd@email.it>2016-06-05 16:11:27 +0200
commitea46245a9a435bca5f01a74eb8391e33c70e28bb (patch)
treea27070ee0b2d4e8d16814a012afb493a1b5a666b /src/emu/debug/debughlp.cpp
parent3a30f52296290ae51b37a39d4f477461bce51eb2 (diff)
Added commit command to debugger. [Angelo Salese]
Diffstat (limited to 'src/emu/debug/debughlp.cpp')
-rw-r--r--src/emu/debug/debughlp.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/emu/debug/debughlp.cpp b/src/emu/debug/debughlp.cpp
index eaf77a1e59c..d397c726f15 100644
--- a/src/emu/debug/debughlp.cpp
+++ b/src/emu/debug/debughlp.cpp
@@ -227,6 +227,7 @@ static const help_item static_help_list[] =
" comdelete <address> -- removes a comment from the given address\n"
" comsave -- save the current comments to a file\n"
" comlist -- print currently avaliable comments from file\n"
+ " commit[/*] <address>,<comment> -- gives a bulk comadd then comsave command\n"
"\n"
},
{
@@ -1253,6 +1254,23 @@ static const help_item static_help_list[] =
"\n"
},
{
+ "commit",
+ "\n"
+ " commit[/*] <address>,<comment>\n"
+ "\n"
+ "Adds a string <comment> to the disassembled code at <address> then saves to file. Basically same as comadd + comsave via a single line.\n"
+ "The shortcut for this command is simply '/*'\n"
+ "\n"
+ "Examples:\n"
+ "\n"
+ "commit 0, hello world.\n"
+ " Adds the comment 'hello world.' to the code at address 0x0\n"
+ "\n"
+ "/* 10, undocumented opcode!\n"
+ " Adds the comment 'undocumented opcode!' to the code at address 0x10\n"
+ "\n"
+ },
+ {
"comsave",
"\n"
" comsave\n"