summaryrefslogtreecommitdiff
path: root/Tools
diff options
context:
space:
mode:
Diffstat (limited to 'Tools')
-rw-r--r--Tools/CCode/Source/GenFvMap/GenFvMap.cpp12
1 files changed, 9 insertions, 3 deletions
diff --git a/Tools/CCode/Source/GenFvMap/GenFvMap.cpp b/Tools/CCode/Source/GenFvMap/GenFvMap.cpp
index 5da45abbbd..9934d3cb55 100644
--- a/Tools/CCode/Source/GenFvMap/GenFvMap.cpp
+++ b/Tools/CCode/Source/GenFvMap/GenFvMap.cpp
@@ -344,9 +344,15 @@ CFvMapFile::CFvMapFile(const CIdAddressPathMap& idAddrPath)
if (i->second.second == "*")
continue;
- pair<iterator, bool> r = insert(value_type(i->first,
- new CMapFile(i->second.second.substr(0, i->second.second.rfind('.')) + ".map")));
- r.first->second->SetLoadAddress(i->second.first);
+ try
+ {
+ pair<iterator, bool> r = insert(value_type(i->first,
+ new CMapFile(i->second.second.substr(0, i->second.second.rfind('.')) + ".map")));
+ r.first->second->SetLoadAddress(i->second.first);
+ }
+ catch (const runtime_error& e)
+ {
+ }
}
}