aboutsummaryrefslogtreecommitdiff
path: root/sim/m32c/gdb-if.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-12-26 11:35:03 -0500
committerMike Frysinger <vapier@gentoo.org>2015-12-26 11:50:59 -0500
commit26f8bf63bf36f9062a5cc1afacf71462a4abe0c8 (patch)
treed34918179d17bf66825ef28af0dcc83b41dc94fc /sim/m32c/gdb-if.c
parent8b494522f9f20e1e1d29089067d51fc141c33558 (diff)
downloadbinutils-26f8bf63bf36f9062a5cc1afacf71462a4abe0c8.zip
binutils-26f8bf63bf36f9062a5cc1afacf71462a4abe0c8.tar.gz
binutils-26f8bf63bf36f9062a5cc1afacf71462a4abe0c8.tar.bz2
sim: mips: delete mmu stubs to move to common sim_{read,write}
The only unique thing about mip's sim_{read,write} helpers is the call to address_translation on the incoming address. When we look closer at that function though, we see it's just a stub that maps physical to virtual, and the cache/return values are hardcoded. If we delete this function, we can then collapse all the callers and drop the custom sim_{read,write} logic entirely. Some day we might want to add MMU support, but when we do, we'll want to have the common layers handle things so all targets benefit.
Diffstat (limited to 'sim/m32c/gdb-if.c')
0 files changed, 0 insertions, 0 deletions