]> git.proxmox.com Git - mirror_edk2.git/blame - EmbeddedPkg/Scripts/LauterbachT32/T32.CMM
EmbeddedPkg/LauterbachT32: Lauterbach T32 Debug Scripts
[mirror_edk2.git] / EmbeddedPkg / Scripts / LauterbachT32 / T32.CMM
CommitLineData
98790d81 1;\r
2; Copyright (c) 2011, Hewlett-Packard Company. All rights reserved.<BR>\r
3; \r
4; This program and the accompanying materials \r
5; are licensed and made available under the terms and conditions of the BSD License \r
6; which accompanies this distribution. The full text of the license may be found at \r
7; http://opensource.org/licenses/bsd-license.php \r
8; \r
9; THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
10; WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
11; \r
12\r
13; Copy this to your C:\T32 directory\r
14;Default startup program for TRACE32\r
15;\r
16;This startup program can be modified according to your needs.\r
17\r
18; update this path to reflect YOUR current working dir\r
19GLOBAL &wcdir\r
20&wcdir="D:\bios"\r
21\r
22;choose hex mode for input\r
23 radix hex\r
24\r
25;Add some extra buttons to the toolbar\r
26\r
27 menu.rp\r
28 (\r
29 add\r
30 toolbar\r
31 (\r
32 separator\r
33 toolitem "Source/List" ":list" "Data.List"\r
34 toolitem "Memory Dump" ":dump" "Data.dump"\r
35 toolitem "Register" ":reg" "Register"\r
36 separator\r
37 toolitem "Watch" ":varwatch" "Var.Watch"\r
38 toolitem "Stack" ":varframe" "Var.Frame /l /c"\r
39 toolitem "Automatic Watch" ":varref" "Var.Ref"\r
40 separator\r
41 toolitem "List Breakpoints" ":break" "Break.List"\r
42 toolitem "List Symbols" ":symbols" "sYmbol.Browse"\r
43 toolitem "System Settings" ":config" "SYStem"\r
44 separator\r
45 )\r
46 )\r
47\r
48 if language()!=""\r
49 (\r
50 local &menuname\r
51 &menuname="~~/t32"+language()+".men"\r
52 if os.file(&menuname)\r
53 menu.rp &menuname\r
54 )\r
55\r
56;Recall and Define History File\r
57 autostore , history bookmark\r
58 \r
59; Execute EFI setup script\r
60 chdir &wcdir\Platform\T32_Scripts\r
61 do EFI\r
62\r
63enddo\r
64\r
65\r