aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-gen.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-12-26 08:13:38 -0500
committerMike Frysinger <vapier@gentoo.org>2015-12-26 08:26:28 -0500
commit8b494522f9f20e1e1d29089067d51fc141c33558 (patch)
tree8d62872b3a4f3c244543adc23351f7131f4e4c8d /bfd/elf32-gen.c
parent0e9672991e9346d5c2cb9cd33e30fb3e573f88b8 (diff)
downloadgdb-8b494522f9f20e1e1d29089067d51fc141c33558.zip
gdb-8b494522f9f20e1e1d29089067d51fc141c33558.tar.gz
gdb-8b494522f9f20e1e1d29089067d51fc141c33558.tar.bz2
sim: cris: do not pass cpu when writing memory during init
The point of passing down the cpu to core reads/writes is to signal which cpu is making the access. For system accesses (such as internal memory initialization), passing the cpu down doesn't make sense, and in the case of early init like cris, can cause crashes. Since the cpu isn't fully set up at this point, if the core code tries to access some fields (like the PC reg), it'll crash. While cris shouldn't be doing this setup here (it should be in the inferior stage), we'll deal with that later.
Diffstat (limited to 'bfd/elf32-gen.c')
0 files changed, 0 insertions, 0 deletions