Changes between Version 66 and Version 67 of TBR/BSP/Psim


Ignore:
Timestamp:
12/18/10 01:06:09 (13 years ago)
Author:
E.begov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • TBR/BSP/Psim

    v66 v67  
    5959= Downloading and Executing =
    6060
     61Installing PSIM
     62To build PSIM you will need the following:
    6163
    62 Describe the download procedure.
     64gdb-4.16.tar.gz
     65Available from your favorite GNU ftp site
     66gcc
     67GCC version two includes suport for long long (64bit integer) arrithemetic which PSIM uses. Hence it is recommended that you build PSIM using GCC.
     68
     69Updates to GDB
     70From time to time, problems involving the integration of PSIM into gdb are found. While eventually each of these problems is resolved there can be periouds during which a local hack may be needed.
     71
     72At the time of writing the following were outstanding:
     73
     74ATTACH command
     75        ftp://ftp.ci.com.au/pub/psim/gdb-4.15+attach.diff.gz
     76or      ftp://cambridge.cygnus.com/pub/psim/gdb-4.15+attach.diff.gz
     77PSIM, unlike the other simulators included with GDB, is able to load the description of a target machine (including the initial state of all processor registers) from a file. Unfortunatly GDB does not yet have a standard command that facilitates the use of this feature. Until such a command is added, the above patch (hack?) can be used to extend GDB's attach command so that it can be used to initialize the simulators configuration from a file.
     78GDB insns, stalls and cycles pseudo registers
     79        ftp://ftp.ci.com.au/pub/psim/gdb-4.16+count.diff.gz
     80or      ftp://cambridge.cygnus.com/pub/psim/gdb-4.16+count.diff.gz
     81More recent versions of PSIM include partial support for the pseudo registers cycles, insns and stalls which are used to access profiling information. Before they can be used with gdb-4.16 (built with a more recent PSIM), the above patch should be applied.
     82Reconize svr4 target
     83        ftp://ftp.ci.com.au/pub/psim/gdb-4.16+svr4.diff.gz
     84or      ftp://cambridge.cygnus.com/pub/psim/gdb-4.16+svr4.diff.gz
     85This patch to gdb's configuration files adds additional targets for which PSIM will be built.
    6386= Debugging =
    6487