#\r
# Copyright (c) 2011-2013, ARM Limited. All rights reserved.\r
-# \r
-# This program and the accompanying materials \r
-# are licensed and made available under the terms and conditions of the BSD License \r
-# which accompanies this distribution. The full text of the license may be found at \r
-# http://opensource.org/licenses/bsd-license.php \r
#\r
-# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
-# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
+# This program and the accompanying materials\r
+# are licensed and made available under the terms and conditions of the BSD License\r
+# which accompanies this distribution. The full text of the license may be found at\r
+# http://opensource.org/licenses/bsd-license.php\r
+#\r
+# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
#\r
\r
from arm_ds.debugger_v1 import Debugger\r
else:\r
region_reg = re.compile("\((.*),(.*)\)")\r
base_reg = re.compile("(.*)")\r
- \r
+\r
for o,a in opts:\r
region_type = None\r
regex = None\r
regex = region_reg\r
else:\r
assert False, "Unhandled option (%s)" % o\r
- \r
+\r
if region_type:\r
m = regex.match(a)\r
if m:\r
raise Exception('cmd_load_symbols', "Expect a base address")\r
else:\r
raise Exception('cmd_load_symbols', "Expect a region format as (base,size)")\r
- \r
+\r
# Debugger object for accessing the debugger\r
debugger = Debugger()\r
\r
\r
try:\r
armplatform_debugger = edk2_debugger.ArmPlatformDebugger(ec, report_file, regions, verbose)\r
- \r
+\r
if load_all:\r
armplatform_debugger.load_all_symbols()\r
else:\r