Re: gdb handling of Mach exceptions

2016-11-26 Thread Justus Winter
"Brent W. Baccala" writes: > On Wed, Nov 23, 2016 at 10:03 PM, Brent W. Baccala > wrote: > >> >> Any comments? >> > > Well, yes, actually. :-) > > gdb's hurd target has a poorly documented command "set noninvasive". I > don't completely understand it, but... gdb in noninvasive mode does not s

Re: gdb handling of Mach exceptions

2016-11-25 Thread Brent W. Baccala
On Wed, Nov 23, 2016 at 10:03 PM, Brent W. Baccala wrote: > > Any comments? > Well, yes, actually. :-) gdb's hurd target has a poorly documented command "set noninvasive". I don't completely understand it, but... I'm starting to see the rational for an "invasive" debugging mode. "Invasive" m

Re: gdb handling of Mach exceptions

2016-11-24 Thread Svante Signell
On Wed, 2016-11-23 at 22:03 -1000, Brent W. Baccala wrote: > Hi - > > I've been working with gdb on the test programs that Samuel posted to > test signal preemptors. > > It seems that gdb doesn't reliably intercept the task's exception > port.  It intercepts it once, when it creates the child pro

Re: gdb handling of Mach exceptions

2016-11-24 Thread Brent W. Baccala
Hi - I've been working with gdb on the test programs that Samuel posted to test signal preemptors. It seems that gdb doesn't reliably intercept the task's exception port. It intercepts it once, when it creates the child process, but then assumes that it doesn't change. Something else, I think _

Re: gdb handling of Mach exceptions

2016-11-21 Thread Samuel Thibault
Hello, Brent W. Baccala, on Sun 20 Nov 2016 22:03:51 -1000, wrote: > Obviously, tacking a Mach-specific include into signals.c isn't the right > solution, so can somebody suggest a proper fix? Better ask a gdb list :) Samuel