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: ttrace: Protocal error


> On Saturday 09 August 2008 23:45:23, Pedro Alves wrote:
> 
> > Hope I haven't broken anything badly.  I've never in my live logged in
> > to an HP-UX system, so wear sunglasses.
> 
> And of course, I meant to say that this applies on top of my other
> patch to register the main thread; and that this is an alternative
> patch for consideration.  It's fine with me to go the other simpler
> route, as per your recent patch.

I always work at a distance in case thing blow...

My patch isn't a perfect solution.  While EPROTO is the most
frequent error when resuming, I have also seen EINVAL and ESRCH.

Then, if I pound real hard trying to make vla6.x3g fail:

(gdb) r
Starting program: /mnt/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libgomp/testsuite/vla6.x3g 
vfork: Resource temporarily unavailable.
(gdb) r
Starting program: /mnt/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libgomp/testsuite/vla6.x3g 
vfork: Resource temporarily unavailable.
...

-bash-3.2$ ps -ef|grep vla|wc
73 585 8121

For some reason, the vla6.x3g processes aren't exiting when run under gdb
in spite of the fact that gdb says they exited normally.

I'll look at your patches.

Dave
-- 
J. David Anglin                                  dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6602)


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