This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Signal definitions for host=mingw32/target=*-*-*


On Sun, Apr 16, 2006 at 09:05:19AM +0300, Eli Zaretskii wrote:
> > Date: Sat, 15 Apr 2006 14:42:47 -0400
> > From: Daniel Jacobowitz <drow@false.org>
> > Cc: Masaki MURANAKA <monaka@monami-software.com>,
> > 	gdb-patches@sourceware.org
> > 
> > revision 1.50
> > date: 2005/11/28 18:32:32;  author: mmitchel;  state: Exp;  lines: +6 -11
> >         * remote-sim.c (gdbsim_wait): Pass target signal numbers to
> >         sim_resume.  Expect target signal numbers from sim_stop_reason.
> > 
> > There's still uses of sim_signal_to_host in the simulator, but I don't
> > quite understand most of them.  I think they're all buggy.  I went
> > over Mark's patch carefully at the time, but now I see the result of
> > sim_signal_to_host being compared against signals from sim_stop_reason,
> > which uses sim_signal_to_target...
> 
> Daniel, I'm not sure what you are saying.  Are you saying that Mark's
> patch was wrong in that it introduced bugs that were not there before?

Since the host and target signal numberings in these ranges are exactly
the same, no.  It simply failed to fix some bugs which were previously
present when signals are missing.

The remaining calls to sim_signal_to_host should be looked at
carefully; that is the correct fix for this problem.

-- 
Daniel Jacobowitz
CodeSourcery


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]