public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Debug info broken for gcc-4.5.0 (experimental)
@ 2011-07-06  6:07 Ryan Johnson
  2011-07-06  7:10 ` Corinna Vinschen
  0 siblings, 1 reply; 6+ messages in thread
From: Ryan Johnson @ 2011-07-06  6:07 UTC (permalink / raw)
  To: cygwin

Hi all,

I've been using gcc-4.5.0 happily for a while, but today I had to break 
out gdb to chase down a seg fault. Unfortunately, gdb was getting line 
numbers completely wrong, so I had to revert to gcc-4.3 to work through 
my bug.

Has anybody else seen this? If not, and if it's not trivial to 
reproduce, I can cook up a minimal test case.

Ryan


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Debug info broken for gcc-4.5.0 (experimental)
  2011-07-06  6:07 Debug info broken for gcc-4.5.0 (experimental) Ryan Johnson
@ 2011-07-06  7:10 ` Corinna Vinschen
  2011-07-06  7:14   ` Ryan Johnson
  0 siblings, 1 reply; 6+ messages in thread
From: Corinna Vinschen @ 2011-07-06  7:10 UTC (permalink / raw)
  To: cygwin

On Jul  6 02:06, Ryan Johnson wrote:
> Hi all,
> 
> I've been using gcc-4.5.0 happily for a while, but today I had to
> break out gdb to chase down a seg fault. Unfortunately, gdb was
> getting line numbers completely wrong, so I had to revert to gcc-4.3
> to work through my bug.
> 
> Has anybody else seen this? If not, and if it's not trivial to
> reproduce, I can cook up a minimal test case.

The debug info in gcc-4.5 has changed in a way which older GDBs don't
understand.  You can build GDB 7.2 yourself, that should help.

Actually, Chris, we're still on GDB 6.8.  Any chance we can get an
official 7.2 release?


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Debug info broken for gcc-4.5.0 (experimental)
  2011-07-06  7:10 ` Corinna Vinschen
@ 2011-07-06  7:14   ` Ryan Johnson
  2011-07-06  8:30     ` Yaakov (Cygwin/X)
  0 siblings, 1 reply; 6+ messages in thread
From: Ryan Johnson @ 2011-07-06  7:14 UTC (permalink / raw)
  To: cygwin

On 06/07/2011 3:09 AM, Corinna Vinschen wrote:
> On Jul  6 02:06, Ryan Johnson wrote:
>> Hi all,
>>
>> I've been using gcc-4.5.0 happily for a while, but today I had to
>> break out gdb to chase down a seg fault. Unfortunately, gdb was
>> getting line numbers completely wrong, so I had to revert to gcc-4.3
>> to work through my bug.
>>
>> Has anybody else seen this? If not, and if it's not trivial to
>> reproduce, I can cook up a minimal test case.
> The debug info in gcc-4.5 has changed in a way which older GDBs don't
> understand.  You can build GDB 7.2 yourself, that should help.
>
> Actually, Chris, we're still on GDB 6.8.  Any chance we can get an
> official 7.2 release?
Doh!

I wondered if that was it, but there wasn't an updated gdb available 
(experimental or otherwise). Silly thing is, I probably have a gdb-7.2 
sitting around somewhere that I didn't think to try.

Thanks,
Ryan


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Debug info broken for gcc-4.5.0 (experimental)
  2011-07-06  7:14   ` Ryan Johnson
@ 2011-07-06  8:30     ` Yaakov (Cygwin/X)
  2011-07-06 17:46       ` Can't install from ports server (Was: Re: Debug info broken for gcc-4.5.0 (experimental)) Rolf Campbell
  0 siblings, 1 reply; 6+ messages in thread
From: Yaakov (Cygwin/X) @ 2011-07-06  8:30 UTC (permalink / raw)
  To: cygwin

On Wed, 2011-07-06 at 03:14 -0400, Ryan Johnson wrote:
> I wondered if that was it, but there wasn't an updated gdb available 
> (experimental or otherwise). Silly thing is, I probably have a gdb-7.2 
> sitting around somewhere that I didn't think to try.

GCC 4.5.3 and GDB 7.2 are available in Ports in the meantime.


Yaakov



--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Can't install from ports server (Was: Re: Debug info broken for gcc-4.5.0 (experimental))
  2011-07-06  8:30     ` Yaakov (Cygwin/X)
@ 2011-07-06 17:46       ` Rolf Campbell
  2011-07-06 19:17         ` Christopher Faylor
  0 siblings, 1 reply; 6+ messages in thread
From: Rolf Campbell @ 2011-07-06 17:46 UTC (permalink / raw)
  To: cygwin

On 2011-07-06 04:29, Yaakov (Cygwin/X) wrote:
> GCC 4.5.3 and GDB 7.2 are available in Ports in the meantime.
> Yaakov

I don't know who maintains the ports server, but when I try to use the 
instructions on http://sourceware.org/cygwinports/ , and use 
http://downloads.sourceforge.net/cygwin-ports as my mirror, setup 
crashes right after downloading setup.bz2. If I use the ftp version as 
my mirror, things seem to work ok.


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Can't install from ports server (Was: Re: Debug info broken for gcc-4.5.0 (experimental))
  2011-07-06 17:46       ` Can't install from ports server (Was: Re: Debug info broken for gcc-4.5.0 (experimental)) Rolf Campbell
@ 2011-07-06 19:17         ` Christopher Faylor
  0 siblings, 0 replies; 6+ messages in thread
From: Christopher Faylor @ 2011-07-06 19:17 UTC (permalink / raw)
  To: cygwin

On Wed, Jul 06, 2011 at 01:46:14PM -0400, Rolf Campbell wrote:
>On 2011-07-06 04:29, Yaakov (Cygwin/X) wrote:
>> GCC 4.5.3 and GDB 7.2 are available in Ports in the meantime.
>> Yaakov
>
>I don't know who maintains the ports server, but when I try to use the 
>instructions on http://sourceware.org/cygwinports/ , and use 
>http://downloads.sourceforge.net/cygwin-ports as my mirror, setup 
>crashes right after downloading setup.bz2. If I use the ftp version as 
>my mirror, things seem to work ok.

Please don't report cygwinports problem here.  The web page makes
that very clear.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-07-06 19:17 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-06  6:07 Debug info broken for gcc-4.5.0 (experimental) Ryan Johnson
2011-07-06  7:10 ` Corinna Vinschen
2011-07-06  7:14   ` Ryan Johnson
2011-07-06  8:30     ` Yaakov (Cygwin/X)
2011-07-06 17:46       ` Can't install from ports server (Was: Re: Debug info broken for gcc-4.5.0 (experimental)) Rolf Campbell
2011-07-06 19:17         ` Christopher Faylor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).