62 | | Describe the download procedure. |
| 64 | gdb-4.16.tar.gz |
| 65 | Available from your favorite GNU ftp site |
| 66 | gcc |
| 67 | GCC version two includes suport for long long (64bit integer) arrithemetic which PSIM uses. Hence it is recommended that you build PSIM using GCC. |
| 68 | |
| 69 | Updates to GDB |
| 70 | From 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 | |
| 72 | At the time of writing the following were outstanding: |
| 73 | |
| 74 | ATTACH command |
| 75 | ftp://ftp.ci.com.au/pub/psim/gdb-4.15+attach.diff.gz |
| 76 | or ftp://cambridge.cygnus.com/pub/psim/gdb-4.15+attach.diff.gz |
| 77 | PSIM, 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. |
| 78 | GDB insns, stalls and cycles pseudo registers |
| 79 | ftp://ftp.ci.com.au/pub/psim/gdb-4.16+count.diff.gz |
| 80 | or ftp://cambridge.cygnus.com/pub/psim/gdb-4.16+count.diff.gz |
| 81 | More 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. |
| 82 | Reconize svr4 target |
| 83 | ftp://ftp.ci.com.au/pub/psim/gdb-4.16+svr4.diff.gz |
| 84 | or ftp://cambridge.cygnus.com/pub/psim/gdb-4.16+svr4.diff.gz |
| 85 | This patch to gdb's configuration files adds additional targets for which PSIM will be built. |