Commit | Line | Data |
---|---|---|
44986d67 MD |
1 | Here's some machine-specific informatin for various systems: |
2 | ||
3 | m88k on g88.sim | |
4 | ||
5 | .g88init: | |
6 | echo (gdb) target sim\n | |
7 | target sim | |
8 | echo (gdb) ecatch all\n | |
9 | ecatch all | |
10 | echo (gdb) break exit\n | |
11 | break exit | |
12 | % vi Makefile // set CC and AS | |
13 | % setenv MEERKAT /projects/cer/meerkat | |
14 | % set path=($MEERKAT/bin $path) | |
15 | % make run | |
16 | % g88.sim run | |
17 | (g88) run run N // where `N' is the test number | |
18 | ||
19 | ||
20 | m88k on meerkats, cross compile as above (make run) | |
21 | ||
22 | Run w/ g88: | |
23 | %g88 run | |
24 | (g88) source /homes/rivers/robertb/.gdbinit | |
25 | (g88) me | |
26 | which does | |
27 | (g88) set $firstchars=6 | |
28 | (g88) set $resetonattach=1 | |
29 | (g88) attach /dev/pp0 | |
30 | then download | |
31 | (g88) dl | |
32 | and run with | |
33 | (g88) continue | |
34 | ||
35 | Really the way to run it is: | |
36 | (g88) source | |
37 | (g88) me | |
38 | (g88) win | |
39 | (g88) dead 1 | |
40 | (g88) dead 2 | |
41 | (g88) dead 3 | |
42 | (g88) dl | |
43 | (g88) cont | |
44 | ||
45 | To rerun | |
46 | (g88) init | |
47 | (g88) dl | |
48 | ||
49 | To run simulated meerkat: | |
50 | (g88) att sim | |
51 | <<then use normal commands>> | |
52 | ||
53 | On 4.5 g88: | |
54 | (g88) target sim memsize | |
55 | instead of attatch | |
56 | (g88) ecatch all # catch exception before becomes error |