Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [cdt-dev] Broken Resume without signal in CDI?

Ok, so I've at least managed to add the "Resume Without Signal"
command to DSF-GDB as part of bug 249223.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=249223

I had to make that action retargettable by using the new
platform's async DebugCommandHandler stuff.  And that impacts
the CDI code.

Note also that until the proper Signal support is added to DSF-GDB,
(I think bug 249220 will solve this) the new command will remain disabled
in DSF-GDB.

The patch is ready to be committed but if someone can have a look
at the CDI stuff, that would make me feel better.
I will commit things for Friday before the API freeze.

I did not fix the issue below yet, waiting for confirmation that it
actually is a problem.

Thanks

Marc

> -----Original Message-----
> From: cdt-dev-bounces@xxxxxxxxxxx 
> [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of John Cortell
> Sent: Wednesday, March 10, 2010 11:39 AM
> To: CDT General developers list.; 'CDT General developers list.'
> Subject: Re: [cdt-dev] Broken Resume without signal in CDI?
> 
> I suspect Mikhail is the only one can answer that question. I believe 
> his in the progress of moving back to Canada, so he might not be 
> monitoring the CDT list at this time.
> 
> John
> 
> At 09:06 AM 3/10/2010, Marc Khouzam wrote:
> >Hi,
> >
> >I'm trying to understand "resume without signal", but when I execute 
> >the command,
> >CDI sends -exec-continue instead of 'signal 0'.
> >
> >Looking at CDebugTarget.resumeWithoutSignal() it calls 
> >cdiTarget.resume( false )
> >This is the same call as when doing a simple resume from 
> CDebugTarget.resume()
> >
> >Isn't this wrong? But its' been like this for a very long time.
> >I must be missing something...
> >
> >I actually tried sending a kill -SEGV to my program and then doing
> >the "Resume Without Signal" action and I saw a simple -exec-continue
> >and my program died.
> >
> >Any ideas?
> >
> >Thanks
> >
> >Marc
> >_______________________________________________
> >cdt-dev mailing list
> >cdt-dev@xxxxxxxxxxx
> >https://dev.eclipse.org/mailman/listinfo/cdt-dev
> 
> 
> _______________________________________________
> cdt-dev mailing list
> cdt-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/cdt-dev
> 

Back to the top