Hi Paul,

Yes, it looks like there is an open bug against gdb
        6593753 gdb cannot read corefiles from gcore on Solaris 10
which behaves the same in the current development release (Nevada).

The current plan is not to upgrade software, although 
gdb could be upgraded in a separate case.  This wouldn't fix things...
The current gdb in Solaris is version 6.3, but I also 
tried reading a gcore-generated core with the latest gdb 
(version 6.7.1), and the above reported problem still occurs.  

However, gdb is not completely broken--as far as I can tell, gdb can
debug gcc- and Sun Studio 11-compiled binaries, including
core files generated (not via gcore) when executing those files.

Thanks,
        April
        
> Date: Mon, 05 Nov 2007 12:06:29 +0000 (GMT)
> From: Paul Jakma <Paul.Jakma at Sun.COM>
> Subject: Re: Move gdb from /usr/sfw/bin to /usr/bin [PSARC/2007/630 Self 
Review]
> To: Don Cragun <don.cragun at Sun.COM>
> Cc: PSARC-ext at Sun.COM, April.Chin at Sun.COM
> MIME-version: 1.0
> Content-transfer-encoding: 7BIT
> 
> On Thu, 1 Nov 2007, Don Cragun wrote:
> 
> > I am submitting this case for April Chin.
> > It seeks a minor release binding.
> >
> > I believe it qualifies for self review and am marking it closed
> > approved.  If anyone disagrees, let me know and I will change it to a
> > fast track with the normal one week timer.
> 
> What's the point in this exactly?
> 
> GDB is quite broken on Solaris at this time, afaict. It's incapable of 
> reading our core dumps correctly (it either will fail to recognise the 
> core, or when it does recognise one it'll tend to crash trying to parse 
> it). Iirc, there are fairly old bugs open on this. It doesn't appear 
> that either Sun or GNU have had any interest in fixing GDB on Solaris 
> (did it break with S10 changes?).
> 
> What's the point in moving a broken debugger from one place to another? 
> If any energy is to be expended on GDB other than on fixing it, it 
> should be on *removing* it.
> 
> If I had a vote, and I were to ignore fact that PSARC doesn't decide on 
> implementation, it'd be: Big huge -1 to this proposal..
> 
> regards,
> -- 
> Paul Jakma,
> Solaris Networking                       Sun Microsystems, Scotland
> http://opensolaris.org/os/project/quagga tel: EMEA x73150 / +44 15066 73150


Reply via email to