Re: Bizarre GCC problem - how do I debug it?

2010-08-09 Thread Bruce Korb
On 08/06/10 10:24, David Daney wrote: On 08/06/2010 10:19 AM, Bruce Korb wrote: The problem seems to be that GDB thinks all the code belongs to a single line of text. At first, it was a file of mine, so I presumed I had done something strange and passed it off. I needed to do some more

Re: Bizarre GCC problem - how do I debug it?

2010-08-09 Thread Bruce Korb
On Fri, Aug 6, 2010 at 11:19 AM, David Daney dda...@caviumnetworks.com wrote: That seems to work.  There are one or two or three bugs then. Either gdb needs to recognize an out of sync object code It cannot do this as it was released before GCC-4.5. GDB and GCC communicate with each other

Re: Bizarre GCC problem - how do I debug it?

2010-08-09 Thread Bruce Korb
Hi Richard, On Fri, Aug 6, 2010 at 11:43 AM, Richard Guenther richard.guent...@gmail.com wrote: The gdb version on openSUSE that ship with GCC 4.5 is perfectly fine (it's 7.1 based).  No idea what the reporter is talking about (we don't ship insight IIRC). You are remembering correctly. I