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]

Re: [patch] Limit DW_AT_comp_dir workaround only for gcc<=4.2


>>>>> "Jan" == Jan Kratochvil <jan.kratochvil@redhat.com> writes:

Jan> 2012-11-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
Jan> 	* dwarf2read.c (struct dwarf2_cu): New field producer_is_gcc_lt_4_3.
Jan> 	Update the comment for checked_producer.
Jan> 	(check_producer): New forward declaration.
Jan> 	(producer_is_gcc_lt_4_3): New function.
Jan> 	(find_file_and_directory): Simulate *COMP_DIR only for gcc < 4.3.
Jan> 	(check_producer): Initialize also PRODUCER_IS_GCC_LT_4_3.

Jan> gdb/testsuite/
Jan> 2012-11-30  Jan Kratochvil  <jan.kratochvil@redhat.com>

Jan> 	* gdb.dwarf2/dw2-compdir-oldgcc.S: New file.
Jan> 	* gdb.dwarf2/dw2-compdir-oldgcc.exp: New file.

Looks good to me.

Tom


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