[Bug debug/35615] Debug information for .debug_loc section incorrect

2008-03-21 Thread drow at gcc dot gnu dot org
--- Comment #13 from drow at gcc dot gnu dot org 2008-03-21 19:30 --- Closing, then. -- drow at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONF

[Bug debug/35615] Debug information for .debug_loc section incorrect

2008-03-20 Thread deuling at de dot ibm dot com
--- Comment #12 from deuling at de dot ibm dot com 2008-03-20 13:01 --- The error disappeared :-) I neither changed the compiler nor anything else in the setup. I just rebuild neg_array and the error is gone. (gdb) br MAIN__ Breakpoint 1 at 0x80485bd: file neg_array.F, line 1. (gdb) I

[Bug debug/35615] Debug information for .debug_loc section incorrect

2008-03-19 Thread wilson at tuliptree dot org
--- Comment #11 from wilson at tuliptree dot org 2008-03-20 06:56 --- Subject: Re: Debug information for .debug_loc section incorrect deuling at de dot ibm dot com wrote: > --- Comment #6 from deuling at de dot ibm dot com 2008-03-18 16:52 > --- > ./readelf --debug-dump=line

[Bug debug/35615] Debug information for .debug_loc section incorrect

2008-03-19 Thread deuling at de dot ibm dot com
--- Comment #10 from deuling at de dot ibm dot com 2008-03-19 08:48 --- I attached the binary compiled with gfortran 4.3 on x86. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35615

[Bug debug/35615] Debug information for .debug_loc section incorrect

2008-03-19 Thread deuling at de dot ibm dot com
--- Comment #9 from deuling at de dot ibm dot com 2008-03-19 08:48 --- Created an attachment (id=15342) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15342&action=view) x86 binary (neg_array.F) with gfortran 4.3 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35615

[Bug debug/35615] Debug information for .debug_loc section incorrect

2008-03-18 Thread amodra at bigpond dot net dot au
--- Comment #8 from amodra at bigpond dot net dot au 2008-03-19 01:17 --- Can you attach the object file that has the odd file name entry? I can't reproduce this. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35615

[Bug debug/35615] Debug information for .debug_loc section incorrect

2008-03-18 Thread amodra at bigpond dot net dot au
--- Comment #7 from amodra at bigpond dot net dot au 2008-03-19 00:54 --- Following up on comment #4, it was this part of Nick's patch that fixed the --debug-dump=loc problem: "Correct list of attributes which can reference a location list." http://sourceware.org/ml/binutils/2007-11/msg

[Bug debug/35615] Debug information for .debug_loc section incorrect

2008-03-18 Thread deuling at de dot ibm dot com
--- Comment #6 from deuling at de dot ibm dot com 2008-03-18 16:52 --- ./readelf --debug-dump=line give for gfortran 4.1.2: The Directory Table: fortran The File Name Table: Entry­Dir­····Time­···Size­···Name 1­····1­······0­······0­·····

[Bug debug/35615] Debug information for .debug_loc section incorrect

2008-03-18 Thread deuling at de dot ibm dot com
--- Comment #5 from deuling at de dot ibm dot com 2008-03-18 13:43 --- Hi, I build binutils from head and you're right. This issue is fixed: [EMAIL PROTECTED] binutils]$ ./readelf --debug-dump=loc ~/fortran/neg_array Contents of the .debug_loc section: Offset BeginEnd

[Bug debug/35615] Debug information for .debug_loc section incorrect

2008-03-17 Thread wilson at tuliptree dot org
--- Comment #4 from wilson at tuliptree dot org 2008-03-17 23:32 --- Subject: Re: Debug information for .debug_loc section incorrect deuling at de dot ibm dot com wrote: > objdump -W says: > objdump: Error: Location lists in .debug_info section aren't in ascending > order! > As seen i

[Bug debug/35615] Debug information for .debug_loc section incorrect

2008-03-17 Thread deuling at de dot ibm dot com
--- Comment #3 from deuling at de dot ibm dot com 2008-03-17 19:28 --- Hi Andrew, attached is my little test program I use. The error is seen both on x86 and PowerPC: * i686 i686 i386 GNU/Linux * ppc64 ppc64 ppc64 GNU/Linux following versions of binutils: x86: binutils-2.17.50.0.6-5

[Bug debug/35615] Debug information for .debug_loc section incorrect

2008-03-17 Thread deuling at de dot ibm dot com
--- Comment #2 from deuling at de dot ibm dot com 2008-03-17 19:20 --- Created an attachment (id=15338) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15338&action=view) Fortran test program Fortran test program -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35615

[Bug debug/35615] Debug information for .debug_loc section incorrect

2008-03-17 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-03-17 16:49 --- Do you have an example source which causes this issue? Also what target is this on (I figure it is either powerpc-linux-gnu or powerpc64-linux-gnu)? Also what version of gdb are you trying this with (it could be a