This is the mail archive of the gdb@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: Likely obsolete pieces of GDB


> Date: Mon, 1 Jan 2007 11:46:49 -0500 (EST)
> From: "John David Anglin" <dave@hiauly1.hia.nrc.ca>
> 
> > > Tried a simple test with this version.  Tried to debug gdb itself.
> > > Set a break on main and ran gdb with "-v".  The exterior gdb dumped
> > > core.  The cause seems to be that the deprecated_child_ops struct
> > > hasn't been initialized.  It looks like the stuff in inf-ptrace.c
> > > needs to be merged into hpux-thread.c, or we need to setup
> > > deprecated_child_ops.  Presumably, this was done at some point in
> > > the past.
> > 
> > Is this worth fixing?  Obviously no one has used it lately.
> 
> Don't know but I probably would use it if it worked.  I hacked
> on this a bit a couple of weeks ago.  I mainly pulled code from
> inftarg.c with a bit of specialization for hpux.  It builds and
> some stuff may work...

Hi Dave,

I'm sorry to say this, but I think you're on the wrong track.  Instead
of replicating bits from the obsolete inftarg.c, this should really be
implemented as a threads stratum, much in the same way as
bsd-uthread.c.

I'll see if I can hack something up for you along those lines.
Unfortunately the HP-UX 10.20 system that I have access to, doesn't
have the threads stuff installed, so I can't test things.

Mark


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