diff options
Diffstat (limited to 'src/emu/debug/debughlp.cpp')
-rw-r--r-- | src/emu/debug/debughlp.cpp | 111 |
1 files changed, 56 insertions, 55 deletions
diff --git a/src/emu/debug/debughlp.cpp b/src/emu/debug/debughlp.cpp index ef19f91c3a9..c62b7299ea7 100644 --- a/src/emu/debug/debughlp.cpp +++ b/src/emu/debug/debughlp.cpp @@ -154,9 +154,9 @@ const help_item f_static_help_list[] = "Type help <command> for further details on each command\n" "\n" " bp[set] <address>[:<CPU>][,<condition>[,<action>]] -- sets breakpoint at <address>\n" - " bpclear [<bpnum>] -- clears a given breakpoint or all if no <bpnum> specified\n" - " bpdisable [<bpnum>] -- disables a given breakpoint or all if no <bpnum> specified\n" - " bpenable [<bpnum>] -- enables a given breakpoint or all if no <bpnum> specified\n" + " bpclear [<bpnum>[,...]] -- clears given breakpoints or all if no <bpnum> specified\n" + " bpdisable [<bpnum>[,...]] -- disables given breakpoints or all if no <bpnum> specified\n" + " bpenable [<bpnum>[,...]] -- enables given breakpoints or all if no <bpnum> specified\n" " bplist [<CPU>] -- lists all the breakpoints\n" }, { @@ -169,9 +169,9 @@ const help_item f_static_help_list[] = " wpd[set] <address>[:<space>],<length>,<type>[,<condition>[,<action>]] -- sets data space watchpoint\n" " wpi[set] <address>[:<space>],<length>,<type>[,<condition>[,<action>]] -- sets I/O space watchpoint\n" " wpo[set] <address>[:<space>],<length>,<type>[,<condition>[,<action>]] -- sets opcode space watchpoint\n" - " wpclear [<wpnum>] -- clears a given watchpoint or all if no <wpnum> specified\n" - " wpdisable [<wpnum>] -- disables a given watchpoint or all if no <wpnum> specified\n" - " wpenable [<wpnum>] -- enables a given watchpoint or all if no <wpnum> specified\n" + " wpclear [<wpnum>[,...]] -- clears given watchpoints or all if no <wpnum> specified\n" + " wpdisable [<wpnum>[,...]] -- disables given watchpoints or all if no <wpnum> specified\n" + " wpenable [<wpnum>[,...]] -- enables given watchpoints or all if no <wpnum> specified\n" " wplist [<CPU>] -- lists all the watchpoints\n" }, { @@ -180,11 +180,11 @@ const help_item f_static_help_list[] = "Registerpoint Commands\n" "Type help <command> for further details on each command\n" "\n" - " rp[set] {<condition>}[,<action>] -- sets a registerpoint to trigger on <condition>\n" - " rpclear [<rpnum>] -- clears a given registerpoint or all if no <rpnum> specified\n" - " rpdisable [<rpnum>] -- disabled a given registerpoint or all if no <rpnum> specified\n" - " rpenable [<rpnum>] -- enables a given registerpoint or all if no <rpnum> specified\n" - " rplist -- lists all the registerpoints\n" + " rp[set] <condition>[,<action>] -- sets a registerpoint to trigger on <condition>\n" + " rpclear [<rpnum>[,...]] -- clears given registerpoints or all if no <rpnum> specified\n" + " rpdisable [<rpnum>[,...]] -- disabled given registerpoints or all if no <rpnum> specified\n" + " rpenable [<rpnum>[,...]] -- enables given registerpoints or all if no <rpnum> specified\n" + " rplist [<CPU>] -- lists all the registerpoints\n" }, { "expressions", @@ -1206,10 +1206,10 @@ const help_item f_static_help_list[] = { "bpclear", "\n" - " bpclear [<bpnum>]\n" + " bpclear [<bpnum>[,...]]\n" "\n" - "The bpclear command clears a breakpoint. If <bpnum> is specified, only the requested " - "breakpoint is cleared; otherwise all breakpoints are cleared.\n" + "The bpclear command clears breakpoints. If <bpnum> is specified, only the requested " + "breakpoints are cleared; otherwise all breakpoints are cleared.\n" "\n" "Examples:\n" "\n" @@ -1222,10 +1222,10 @@ const help_item f_static_help_list[] = { "bpdisable", "\n" - " bpdisable [<bpnum>]\n" + " bpdisable [<bpnum>,[...]]\n" "\n" - "The bpdisable command disables a breakpoint. If <bpnum> is specified, only the requested " - "breakpoint is disabled; otherwise all breakpoints are disabled. Note that disabling a " + "The bpdisable command disables breakpoints. If <bpnum> is specified, only the requested " + "breakpoints are disabled; otherwise all breakpoints are disabled. Note that disabling a " "breakpoint does not delete it, it just temporarily marks the breakpoint as inactive.\n" "\n" "Examples:\n" @@ -1239,10 +1239,10 @@ const help_item f_static_help_list[] = { "bpenable", "\n" - " bpenable [<bpnum>]\n" + " bpenable [<bpnum>,[...]]\n" "\n" - "The bpenable command enables a breakpoint. If <bpnum> is specified, only the requested " - "breakpoint is enabled; otherwise all breakpoints are enabled.\n" + "The bpenable command enable breakpoints. If <bpnum> is specified, only the requested " + "breakpoints enabled; otherwise all breakpoints are enabled.\n" "\n" "Examples:\n" "\n" @@ -1331,10 +1331,10 @@ const help_item f_static_help_list[] = { "wpclear", "\n" - " wpclear [<wpnum>]\n" + " wpclear [<wpnum>[,...]]\n" "\n" - "The wpclear command clears a watchpoint. If <wpnum> is specified, only the requested " - "watchpoint is cleared; otherwise all watchpoints are cleared.\n" + "The wpclear command clears watchpoints. If <wpnum> is specified, only the requested " + "watchpoints are cleared; otherwise all watchpoints are cleared.\n" "\n" "Examples:\n" "\n" @@ -1347,10 +1347,10 @@ const help_item f_static_help_list[] = { "wpdisable", "\n" - " wpdisable [<wpnum>]\n" + " wpdisable [<wpnum>[,...]]\n" "\n" - "The wpdisable command disables a watchpoint. If <wpnum> is specified, only the requested " - "watchpoint is disabled; otherwise all watchpoints are disabled. Note that disabling a " + "The wpdisable command disables watchpoints. If <wpnum> is specified, only the requested " + "watchpoints are disabled; otherwise all watchpoints are disabled. Note that disabling a " "watchpoint does not delete it, it just temporarily marks the watchpoint as inactive.\n" "\n" "Examples:\n" @@ -1364,10 +1364,10 @@ const help_item f_static_help_list[] = { "wpenable", "\n" - " wpenable [<wpnum>]\n" + " wpenable [<wpnum>[,...]]\n" "\n" - "The wpenable command enables a watchpoint. If <wpnum> is specified, only the requested " - "watchpoint is enabled; otherwise all watchpoints are enabled.\n" + "The wpenable command enables watchpoints. If <wpnum> is specified, only the requested " + "watchpoints are enabled; otherwise all watchpoints are enabled.\n" "\n" "Examples:\n" "\n" @@ -1401,26 +1401,26 @@ const help_item f_static_help_list[] = { "rpset", "\n" - " rp[set] {<condition>}[,<action>]]\n" + " rp[set] <condition>[,<action>]\n" "\n" - "Sets a new registerpoint which will be triggered when <condition> is met. The condition must " - "be specified between curly braces to prevent the condition from being evaluated as an " - "assignment.\n" + "Sets a new registerpoint which will be triggered when <condition> is true (evaluates to a " + "non-zero value). The condition must be embedded in braces { } to prevent it from being " + "interpreted as an assignment.\n" "\n" - "The optional <action> parameter provides a command that is executed whenever the registerpoint " - "is hit. Note that you may need to embed the action within braces { } in " - "order to prevent commas and semicolons from being interpreted as applying to the rpset command " - "itself. Each registerpoint that is set is assigned an index which can be used in other " - "registerpoint commands to reference this registerpoint.\n" + "The optional <action> parameter provides a command that is executed whenever the " + "registerpoint is hit. Note that you may need to embed the action within braces { } in " + "order to prevent commas and semicolons from being interpreted as applying to the rpset " + "command itself. Each registerpoint that is set is assigned an index which can be used in " + "other registerpoint commands to reference this registerpoint.\n" "\n" "Examples:\n" "\n" - "rp {PC==0150}\n" - " Set a registerpoint that will halt execution whenever the PC register equals 0x150.\n" + "rp {PC==150}\n" + " Set a registerpoint that will halt execution whenever the PC register equals 150.\n" "\n" - "temp0=0; rp {PC==0150},{temp0++; g}\n" + "temp0=0; rp {PC==150},{temp0++; g}\n" " Set a registerpoint that will increment the variable temp0 whenever the PC register " - "equals 0x0150.\n" + "equals 150.\n" "\n" "rp {temp0==5}\n" " Set a registerpoint that will halt execution whenever the temp0 variable equals 5.\n" @@ -1428,15 +1428,15 @@ const help_item f_static_help_list[] = { "rpclear", "\n" - " rpclear [<rpnum>]\n" + " rpclear [<rpnum>[,...]]\n" "\n" - "The rpclear command clears a registerpoint. If <rpnum> is specified, only the requested " - "registerpoint is cleared, otherwise all registerpoints are cleared.\n" + "The rpclear command clears registerpoints. If <rpnum> is specified, only the requested " + "registerpoints are cleared, otherwise all registerpoints are cleared.\n" "\n" "Examples:\n" "\n" "rpclear 3\n" - " Clear registerpoint index 3.\n" + " Clear the registerpoint with index 3.\n" "\n" "rpclear\n" " Clear all registerpoints.\n" @@ -1444,16 +1444,17 @@ const help_item f_static_help_list[] = { "rpdisable", "\n" - " rpdisable [<rpnum>]\n" + " rpdisable [<rpnum>[,...]]\n" "\n" - "The rpdisable command disables a registerpoint. If <rpnum> is specified, only the requested " - "registerpoint is disabled, otherwise all registerpoints are disabled. Note that disabling a " - "registerpoint does not delete it, it just temporarily marks the registerpoint as inactive.\n" + "The rpdisable command disables registerpoints. If <rpnum> is specified, only the " + "requested registerpoints are disabled, otherwise all registerpoints are disabled. Note " + "that disabling a registerpoint does not delete it, it just temporarily marks the " + "registerpoint as inactive.\n" "\n" "Examples:\n" "\n" "rpdisable 3\n" - " Disable registerpoint index 3.\n" + " Disable the registerpoint with index 3.\n" "\n" "rpdisable\n" " Disable all registerpoints.\n" @@ -1461,15 +1462,15 @@ const help_item f_static_help_list[] = { "rpenable", "\n" - " rpenable [<rpnum>]\n" + " rpenable [<rpnum>[,...]]\n" "\n" - "The rpenable command enables a registerpoint. If <rpnum> is specified, only the requested " - "registerpoint is enabled, otherwise all registerpoints are enabled.\n" + "The rpenable command enables registerpoints. If <rpnum> is specified, only the requested " + "registerpoints are enabled, otherwise all registerpoints are enabled.\n" "\n" "Examples:\n" "\n" "rpenable 3\n" - " Enable registerpoint index 3.\n" + " Enable the registerpoint with index 3.\n" "\n" "rpenable\n" " Enable all registerpoints.\n" |