diff options
Diffstat (limited to 'BeagleBoardPkg/Debugger_scripts/trace32_load_symbols_cygwin.cmm')
-rw-r--r-- | BeagleBoardPkg/Debugger_scripts/trace32_load_symbols_cygwin.cmm | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/BeagleBoardPkg/Debugger_scripts/trace32_load_symbols_cygwin.cmm b/BeagleBoardPkg/Debugger_scripts/trace32_load_symbols_cygwin.cmm index c2ecb6ab93..db9ff4e966 100644 --- a/BeagleBoardPkg/Debugger_scripts/trace32_load_symbols_cygwin.cmm +++ b/BeagleBoardPkg/Debugger_scripts/trace32_load_symbols_cygwin.cmm @@ -111,27 +111,27 @@ valid_pe_header: )
RETURN 0
-get_file_string: - ENTRY &stringOffset - +get_file_string:
+ ENTRY &stringOffset
+
local &string
- &more_string=data.string(d:&stringOffset) - - if (string.len("&more_string")>=128.) - ( - &string="&string"+"&more_string" - &stringOffset=&stringOffset+string.len("&more_string") - - //Get remaining file string - GOSUB get_file_string &stringOffset - ENTRY &more_string - &string="&string"+"&more_string" - ) - else - ( - &string="&string"+"&more_string" - &more_string="" + &more_string=data.string(d:&stringOffset)
+
+ if (string.len("&more_string")>=128.)
+ (
+ &string="&string"+"&more_string"
+ &stringOffset=&stringOffset+string.len("&more_string")
+
+ //Get remaining file string
+ GOSUB get_file_string &stringOffset
+ ENTRY &more_string
+ &string="&string"+"&more_string"
+ )
+ else
+ (
+ &string="&string"+"&more_string"
+ &more_string=""
)
RETURN &string
|