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