more destructive changes

This commit is contained in:
Ciro Santilli 六四事件 法轮功
2018-12-05 00:00:00 +00:00
parent 0162205797
commit cfa3991e64
8 changed files with 355 additions and 331 deletions

View File

@@ -8491,8 +8491,8 @@ List all available debug flags:
but to understand most of them you have to look at the source code:
....
less "$(./getvar gem5_src_dir)/src/cpu/SConscript"
less "$(./getvar gem5_src_dir)/src/cpu/exetrace.cc"
less "$(./getvar gem5_source_dir)/src/cpu/SConscript"
less "$(./getvar gem5_source_dir)/src/cpu/exetrace.cc"
....
The traces are generated from `DPRINTF(<trace-id>` calls scattered throughout the code.
@@ -9903,7 +9903,7 @@ The `--gem5-script biglittle` option enables the alternative `configs/example/ar
First apply:
....
patch -d "$(./getvar gem5_src_dir)" -p 1 < patches/manual/gem5-biglittle.patch
patch -d "$(./getvar gem5_source_dir)" -p 1 < patches/manual/gem5-biglittle.patch
....
then:
@@ -10373,7 +10373,7 @@ Bibliography:
For gem5, you need:
....
patch -d "$(./getvar gem5_src_dir)" -p 1 < patches/manual/gem5-semihost.patch
patch -d "$(./getvar gem5_source_dir)" -p 1 < patches/manual/gem5-semihost.patch
....
https://stackoverflow.com/questions/52475268/how-to-enable-arm-semihosting-in-gem5/52475269#52475269
@@ -11432,17 +11432,17 @@ Analogous to the <<linux-kernel-build-variants>> but with the `--gem5-build-id`
./build-gem5
# Build another branch.
git -C "$(./getvar gem5_src_dir)" checkout some-branch
git -C "$(./getvar gem5_source_dir)" checkout some-branch
./build-gem5 --gem5-build-id some-branch
# Restore master.
git -C "$(./getvar gem5_src_dir)" checkout -
git -C "$(./getvar gem5_source_dir)" checkout -
# Run master.
./run --gem5
# Run another branch.
git -C "$(./getvar gem5_src_dir)" checkout some-branch
git -C "$(./getvar gem5_source_dir)" checkout some-branch
./run --gem5-build-id some-branch --gem5
....