From 2450f517818526641d5178cea4af7913fac5736e Mon Sep 17 00:00:00 2001 From: Alex Lin Date: Wed, 15 Feb 2017 08:58:20 -0600 Subject: [PATCH] Add name of parameter to error message coming out of MemoryManager_restrore_stls #382 Printing the name now. --- .../sim_services/MemoryManager/MemoryManager_restore_stls.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trick_source/sim_services/MemoryManager/MemoryManager_restore_stls.cpp b/trick_source/sim_services/MemoryManager/MemoryManager_restore_stls.cpp index 8148e7ab..fe849792 100644 --- a/trick_source/sim_services/MemoryManager/MemoryManager_restore_stls.cpp +++ b/trick_source/sim_services/MemoryManager/MemoryManager_restore_stls.cpp @@ -58,7 +58,7 @@ void Trick::MemoryManager::restore_stls_in_class( std::string name, char* addres } if (attr == NULL) { - std::cerr << "ERROR: Trick::MemoryManager::restore_stls called with attr = NULL." << std::endl; + std::cerr << "ERROR: Trick::MemoryManager::restore_stls called with name = " << name << " and attr = NULL." << std::endl; return; }