]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EmbeddedPkg/Scripts/LauterbachT32/T32.CMM
EmbeddedPkg/LauterbachT32: Lauterbach T32 Debug Scripts
[mirror_edk2.git] / EmbeddedPkg / Scripts / LauterbachT32 / T32.CMM
diff --git a/EmbeddedPkg/Scripts/LauterbachT32/T32.CMM b/EmbeddedPkg/Scripts/LauterbachT32/T32.CMM
new file mode 100755 (executable)
index 0000000..8a73d5f
--- /dev/null
@@ -0,0 +1,65 @@
+;\r
+; Copyright (c) 2011, Hewlett-Packard Company. All rights reserved.<BR>\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
+; \r
+\r
+; Copy this to your C:\T32 directory\r
+;Default startup program for TRACE32\r
+;\r
+;This startup program can be modified according to your needs.\r
+\r
+; update this path to reflect YOUR current working dir\r
+GLOBAL &wcdir\r
+&wcdir="D:\bios"\r
+\r
+;choose hex mode for input\r
+ radix hex\r
+\r
+;Add some extra buttons to the toolbar\r
+\r
+ menu.rp\r
+ (\r
+  add\r
+  toolbar\r
+  (\r
+   separator\r
+   toolitem "Source/List"      ":list"     "Data.List"\r
+   toolitem "Memory Dump"      ":dump"     "Data.dump"\r
+   toolitem "Register"         ":reg"      "Register"\r
+   separator\r
+   toolitem "Watch"            ":varwatch" "Var.Watch"\r
+   toolitem "Stack"            ":varframe" "Var.Frame /l /c"\r
+   toolitem "Automatic Watch"  ":varref"   "Var.Ref"\r
+   separator\r
+   toolitem "List Breakpoints" ":break"    "Break.List"\r
+   toolitem "List Symbols"     ":symbols"  "sYmbol.Browse"\r
+   toolitem "System Settings"  ":config"   "SYStem"\r
+   separator\r
+  )\r
+ )\r
+\r
+ if language()!=""\r
+ (\r
+  local &menuname\r
+  &menuname="~~/t32"+language()+".men"\r
+  if os.file(&menuname)\r
+     menu.rp &menuname\r
+ )\r
+\r
+;Recall and Define History File\r
+ autostore , history bookmark\r
+  \r
+; Execute EFI setup script\r
+  chdir &wcdir\Platform\T32_Scripts\r
+  do EFI\r
+\r
+enddo\r
+\r
+\r