[Bug binutils/9735] wrong source file shown by objdump -S

2009-01-13 Thread amodra at bigpond dot net dot au
--- Additional Comments From amodra at bigpond dot net dot au 2009-01-13 23:48 --- I should have guessed this was stabs.. Rather than papering over the problem in objdump, I fixed it at its source. At least one other app similarly keeps previous file name pointers returned from bfd_fi

[Bug binutils/9735] wrong source file shown by objdump -S

2009-01-13 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2009-01-13 23:45 --- Subject: Bug 9735 CVSROOT:/cvs/src Module name:src Changes by: amo...@sourceware.org 2009-01-13 23:44:45 Modified files: bfd: ChangeLog syms.c Log message:

[Bug binutils/9735] wrong source file shown by objdump -S

2009-01-13 Thread dick at streefland dot net
--- Additional Comments From dick at streefland dot net 2009-01-13 12:37 --- Created an attachment (id=3661) --> (http://sourceware.org/bugzilla/attachment.cgi?id=3661&action=view) ELF file of the example Here is the ELF file. When I was debugging the problem, print_files only contain

[Bug binutils/9735] wrong source file shown by objdump -S

2009-01-13 Thread amodra at bigpond dot net dot au
--- Additional Comments From amodra at bigpond dot net dot au 2009-01-13 12:25 --- I still can't replicate the problem. The testcase isn't a great help since I don't have avr-gcc. Please attach the compiled program. Hmm, you do realise that entries are added to the beginning of the pr

[Bug binutils/9735] wrong source file shown by objdump -S

2009-01-13 Thread dick at streefland dot net
--- Additional Comments From dick at streefland dot net 2009-01-13 11:16 --- Created an attachment (id=3660) --> (http://sourceware.org/bugzilla/attachment.cgi?id=3660&action=view) test case to reproduce the problem Here is a gzipped tar file with a test case to reproduce the problem.

[Bug binutils/9735] wrong source file shown by objdump -S

2009-01-13 Thread dick at streefland dot net
--- Additional Comments From dick at streefland dot net 2009-01-13 09:29 --- Sorry, I thought the bug would show up for every target. It was in binutils-avr, for the Atmel AVR. In the debugger, I could see that the filename and modname strings for the first entry in the print_files list

[Bug binutils/9735] wrong source file shown by objdump -S

2009-01-12 Thread amodra at bigpond dot net dot au
--- Additional Comments From amodra at bigpond dot net dot au 2009-01-13 05:33 --- I could not reproduce the problem. Please specify the target where you noticed this. -- http://sourceware.org/bugzilla/show_bug.cgi?id=9735 --- You are receiving this mail because: --- You ar

[Bug binutils/9735] wrong source file shown by objdump -S

2009-01-12 Thread amodra at bigpond dot net dot au
-- What|Removed |Added Status|NEW |ASSIGNED Last reconfirmed|-00-00 00:00:00 |2009-01-13 04:29:43 date|

[Bug binutils/9735] wrong source file shown by objdump -S

2009-01-12 Thread amodra at bigpond dot net dot au
-- What|Removed |Added AssignedTo|unassigned at sources dot |amodra at bigpond dot net |redhat dot com |dot au http://sourceware.org/bugzil