[Scummvm-git-logs] scummvm master -> 214e0a99797572f09cd891e49f9086bca9fac994

bluegr bluegr at gmail.com
Sat Nov 6 15:55:54 UTC 2021


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
214e0a9979 SCI: add "st" as an alias to the debug "stack" command


Commit: 214e0a99797572f09cd891e49f9086bca9fac994
    https://github.com/scummvm/scummvm/commit/214e0a99797572f09cd891e49f9086bca9fac994
Author: Ralph Caraveo III (deckarep at gmail.com)
Date: 2021-11-06T17:55:51+02:00

Commit Message:
SCI: add "st" as an alias to the debug "stack" command

While constantly evaluating the stack when debugging please consider:
  * adding a "st" alias to the "stack" command which also nicely represents the stack based addresses such as: `ST:0000`.
  * I introduced a previous alias for evaluating registers with the addition to "reg" so I'm hoping this is reasonable.

Changed paths:
    engines/sci/console.cpp


diff --git a/engines/sci/console.cpp b/engines/sci/console.cpp
index b719cd289f..0bb189bd53 100644
--- a/engines/sci/console.cpp
+++ b/engines/sci/console.cpp
@@ -238,6 +238,7 @@ Console::Console(SciEngine *engine) : GUI::Debugger(),
 	registerCmd("vmvars",				WRAP_METHOD(Console, cmdVMVars));					// alias
 	registerCmd("vv",					WRAP_METHOD(Console, cmdVMVars));					// alias
 	registerCmd("stack",				WRAP_METHOD(Console, cmdStack));
+	registerCmd("st",					WRAP_METHOD(Console, cmdStack));					// alias
 	registerCmd("value_type",			WRAP_METHOD(Console, cmdValueType));
 	registerCmd("view_listnode",		WRAP_METHOD(Console, cmdViewListNode));
 	registerCmd("view_reference",		WRAP_METHOD(Console, cmdViewReference));




More information about the Scummvm-git-logs mailing list