diff options
author | Mike Frysinger <vapier@gentoo.org> | 2012-08-01 03:31:55 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2012-08-01 03:31:55 +0000 |
commit | 040a4d109e2b173069320e125cd3d35ca7935dd3 (patch) | |
tree | 13ac7903de9aa7795693d1d6ef0719b8b0b88198 /sim/bfin/ChangeLog | |
parent | b5539f23a007948b94f7565488b33ca9fd4c6ab0 (diff) | |
download | gdb-040a4d109e2b173069320e125cd3d35ca7935dd3.zip gdb-040a4d109e2b173069320e125cd3d35ca7935dd3.tar.gz gdb-040a4d109e2b173069320e125cd3d35ca7935dd3.tar.bz2 |
sim: bfin: set bfrom alias field to correct size
When the sim is built w/out the bfroms, we end up passing a length of 0 when
mapping the rom region which the core sim code rejects. So add an alias field
equal to the length to avoid that error.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'sim/bfin/ChangeLog')
-rw-r--r-- | sim/bfin/ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sim/bfin/ChangeLog b/sim/bfin/ChangeLog index 49f2d6b..8283086 100644 --- a/sim/bfin/ChangeLog +++ b/sim/bfin/ChangeLog @@ -1,5 +1,12 @@ 2012-07-31 Mike Frysinger <vapier@gentoo.org> + * machs.c (bf54x_roms): Pass 0x1000 to alias field of BFROM, and + 0x10000 to the alias field of BFROMA. + (bf561_roms): Pass 0x1000 to alias field of BFROM. + (bf59x_roms): Pass 0x10000 to alias field of BFROMA. + +2012-07-31 Mike Frysinger <vapier@gentoo.org> + * machs.c (bfin_reg_fetch): Change return 0 to return -1, and return -1 to return 4. (bfin_reg_store): Likewise. |