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: [PATCH] sim: d10v: fix signal updates


On 06 Apr 2015 13:00, Pedro Alves wrote:
> On 04/03/2015 01:40 AM, Mike Frysinger wrote:
> > @@ -936,17 +936,14 @@ sim_resume (SIM_DESC sd, int step, int siggnal)
> >      {
> >      case 0:
> >        break;
> > -#ifdef SIGBUS
> > -    case SIGBUS:
> > -#endif
> > -    case SIGSEGV:
> > +    case GDB_SIGNAL_BUS:
> 
> OOC, why no SIGSEGV -> GDB_SIGNAL_SEGV ?

there probably is no good reason.  this particular update matches what the other 
signal handling point update did (it normalized BUS & SEGV into BUS).  i can see 
about updating both to handle SEGV & BUS independently.
-mike

Attachment: signature.asc
Description: Digital signature


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