[Scummvm-git-logs] scummvm master -> 75daa49d112e63b9206167f39b783b9fd55c5a1e

bluegr bluegr at gmail.com
Sun Feb 3 09:51:14 CET 2019


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:
75daa49d11 SCI: Fix inconsistent debugger breakpoint messages


Commit: 75daa49d112e63b9206167f39b783b9fd55c5a1e
    https://github.com/scummvm/scummvm/commit/75daa49d112e63b9206167f39b783b9fd55c5a1e
Author: Vhati (tvtronix at yahoo.com)
Date: 2019-02-03T10:51:10+02:00

Commit Message:
SCI: Fix inconsistent debugger breakpoint messages

Fixes bp_function and bp_address not printing the created breakpoint, as
happens with the other bp_ commands.

Changed paths:
    engines/sci/console.cpp


diff --git a/engines/sci/console.cpp b/engines/sci/console.cpp
index 290c58a..6d75e59 100644
--- a/engines/sci/console.cpp
+++ b/engines/sci/console.cpp
@@ -4256,6 +4256,8 @@ bool Console::cmdBreakpointFunction(int argc, const char **argv) {
 	_debugState._breakpoints.push_back(bp);
 	_debugState._activeBreakpointTypes |= BREAK_EXPORT;
 
+	printBreakpoint(_debugState._breakpoints.size() - 1, bp);
+
 	return true;
 }
 
@@ -4292,6 +4294,8 @@ bool Console::cmdBreakpointAddress(int argc, const char **argv) {
 	_debugState._breakpoints.push_back(bp);
 	_debugState._activeBreakpointTypes |= BREAK_ADDRESS;
 
+	printBreakpoint(_debugState._breakpoints.size() - 1, bp);
+
 	return true;
 }
 





More information about the Scummvm-git-logs mailing list