This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] Re: Advice on fixing gdb/12528


On Fri, Mar 11, 2011 at 9:14 AM, Tom Tromey <tromey@redhat.com> wrote:

> Can you check the has_section_at_zero flag on dwarf2_per_objfile?

Thanks!

Attached patch fixes the problem and adds a test case.
Tested on Linux/x86_64, no regressions.

-- 
Paul Pluzhnikov

ChangeLog:

2011-03-14  Paul Pluzhnikov  <ppluzhnikov@google.com>

	PR gdb/12528
	* dwarf2read.c (noop_record_line): New function.
	(dwarf_decode_lines): Ignore line tables for GCd functions.

testsuite/ChangeLog:

2011-03-14  Paul Pluzhnikov  <ppluzhnikov@google.com>

	PR gdb/12528
	* gdb.cp/pr12528.exp: New test.
	* gdb.cp/pr12528.cc: New file.

Attachment: gdb-pr12528-20110314.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]