diff options
author | Mike Frysinger <vapier@gentoo.org> | 2015-12-25 02:13:18 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2015-12-25 02:18:16 -0500 |
commit | 42a3af5688cd41550e2b517f676f03f2842e615b (patch) | |
tree | 5592399da0fca61cddc8f1c761d9bbd01b6dc412 /sim/common/ChangeLog | |
parent | 9e8e7dd966670c80f3b71f8cf7e07f2843b33e80 (diff) | |
download | binutils-42a3af5688cd41550e2b517f676f03f2842e615b.zip binutils-42a3af5688cd41550e2b517f676f03f2842e615b.tar.gz binutils-42a3af5688cd41550e2b517f676f03f2842e615b.tar.bz2 |
sim: device_error: punt
Only four targets implement this function, and three of them do nothing.
The 4th merely calls abort. Since calls to this function are followed
by calls to sim_hw_abort or sim_io_error, this is largely useless. In
the two places where we don't, replace the call with sim_engine_abort.
We want to kill off the WITH_DEVICES logic in favor of WITH_HW, so this
is a good first step.
Diffstat (limited to 'sim/common/ChangeLog')
-rw-r--r-- | sim/common/ChangeLog | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog index 0a6cb15..52931d8 100644 --- a/sim/common/ChangeLog +++ b/sim/common/ChangeLog @@ -1,5 +1,15 @@ 2015-12-25 Mike Frysinger <vapier@gentoo.org> + * sim-core.c (device_error): Delete. + (sim_core_map_attach): Delete calls to device_error. + (sim_core_attach): Likewise. + * sim-core.h (device_error): Delete. + * sim-n-core.h (sim_core_read_aligned_N): Change device_error call + to sim_engine_abort. + (sim_core_write_aligned_N): Likewise. + +2015-12-25 Mike Frysinger <vapier@gentoo.org> + * sim-config.h (WITH_CALLBACK_MEMORY): Delete. * sim-core.c (sim_core_write_buffer): Likewise. * sim-n-core.h (sim_core_read_aligned_N): Likewise. |