From 9cc9d8c6f3de9759a9153e38a4ee45f63ac61563 Mon Sep 17 00:00:00 2001
From: David Garibaldi <dgaribal@codeaurora.org>
Date: Mon, 13 Oct 2014 17:51:59 -0700
Subject: [PATCH] lrdpv2: Update t32 session window titlebars with current RAM
 dump path

T32 simulator sessions currently launched from lrdp shortcuts do not
contain anything that allows separate sessions to be distinguished
from one another. Add a line that updates the titlebar of any launched
t32 simulator session with the full path to the RAM dumps being loaded
in the session.

Change-Id: I4273b4f000c96ed13af897dd23c0cd19b36c9a80
---
 linux-ramdump-parser-v2/ramdump.py | 2 ++
 1 file changed, 2 insertions(+)
 mode change 100755 => 100644 linux-ramdump-parser-v2/ramdump.py

diff --git a/linux-ramdump-parser-v2/ramdump.py b/linux-ramdump-parser-v2/ramdump.py
old mode 100755
new mode 100644
index c144f36..deeab0b
--- a/linux-ramdump-parser-v2/ramdump.py
+++ b/linux-ramdump-parser-v2/ramdump.py
@@ -724,6 +724,8 @@ class RamDump():
 
         startup_script = open(out_path + '/t32_startup_script.cmm', 'wb')
 
+        startup_script.write(('title \"' + out_path + '\"\n').encode('ascii', 'ignore'))
+
         is_cortex_a53 = self.hw_id == 8916 or self.hw_id == 8939 or self.hw_id == 8936
 
         if self.arm64 and is_cortex_a53:
-- 
GitLab