From: Doug Evans Date: Wed, 19 Nov 1997 08:10:40 +0000 (+0000) Subject: (sim_stop_reason): Add comment. X-Git-Tag: gdb-4_18-branchpoint~4246 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fccbeeb639a6d8f3612f628e559f7be27d49509b;p=thirdparty%2Fbinutils-gdb.git (sim_stop_reason): Add comment. --- diff --git a/sim/common/sim-reason.c b/sim/common/sim-reason.c index e3cba19e14e..b3be74a942e 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 :