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 Sat, Apr 15, 2006 at 09:25:05PM +0300, Eli Zaretskii wrote:
> > Index: gdb/remote-sim.c
> > ===================================================================
> > RCS file: /home/cvs/pizzafactory/gdb/gdb/remote-sim.c,v
> > retrieving revision 1.4
> > diff -r1.4 remote-sim.c
> > 46a47,58

Masaki MURANAKA wrote that this patch was against GDB 6.4.  Please
try HEAD instead.

> Btw, I don't see these signals used anywhere in remote-sim.c.  Why did
> you need to add them?

They used to be, until:

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 Jacobowitz
CodeSourcery


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