aboutsummaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>1997-11-19 08:10:40 +0000
committerDoug Evans <dje@google.com>1997-11-19 08:10:40 +0000
commitfccbeeb639a6d8f3612f628e559f7be27d49509b (patch)
treed7209af3b967cf7d40c3a4e4252d3b7a8b340816 /sim
parenta4b44a2b08b22e323d3366de61c19218197422d4 (diff)
downloadgdb-fccbeeb639a6d8f3612f628e559f7be27d49509b.zip
gdb-fccbeeb639a6d8f3612f628e559f7be27d49509b.tar.gz
gdb-fccbeeb639a6d8f3612f628e559f7be27d49509b.tar.bz2
(sim_stop_reason): Add comment.
Diffstat (limited to 'sim')
-rw-r--r--sim/common/sim-reason.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/sim/common/sim-reason.c b/sim/common/sim-reason.c
index e3cba19..b3be74a 100644
--- a/sim/common/sim-reason.c
+++ b/sim/common/sim-reason.c
@@ -37,6 +37,11 @@ sim_stop_reason (SIM_DESC sd, enum sim_stop *reason, int *sigrc)
break;
case sim_stopped :
case sim_signalled :
+ /* ??? See the comment below case `sim_signalled' in
+ gdb/remote-sim.c:gdbsim_wait. The gdb/simulator interface calls
+ for us to return the host version of the signal which gdb then
+ converts into the target's version. This is obviously a bit
+ clumsy. */
*sigrc = sim_signal_to_host (sd, engine->sigrc);
break;
default :