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]

Regression for .debug_types [Re: [patch] Allow dummy CUs created by incremental linker]


On Wed, 19 Oct 2011 17:27:18 +0200, Cary Coutant wrote:
> Done, and committed. Thanks!

99374fd95e942049103b51b4d125c6a4adc38c50 is the first bad commit
commit 99374fd95e942049103b51b4d125c6a4adc38c50
Author: Cary Coutant <ccoutant@google.com>
Date:   Wed Oct 19 15:26:27 2011 +0000

	* dwarf2read.c (peek_abbrev_code): New function.
	(dw2_get_file_names): Check for dummy compilation units.
	(create_debug_types_hash_table): Likewise.
	(process_psymtab_comp_unit): Likewise.
	(load_partial_comp_unit): Likewise.
	(load_full_comp_unit): Likewise.

I did not debug it yet but it is a regression for many testcases iff
.debug_types are used.  Such as:

FAIL: gdb.base/call-ar-st.exp: print print_small_structs (pattern 6)
FAIL: gdb.base/call-ar-st.exp: step into print_long_arg_list
FAIL: gdb.base/call-ar-st.exp: print print_small_structs from print_long_arg_list (pattern 6)
FAIL: gdb.base/call-ar-st.exp: print print_bit_flags_combo from init_bit_flags_combo


FAIL: gcc (GCC) 4.6.2 20111018 (prerelease)
FAIL: PATH="$HOME/redhat/gcc46-root/bin:$PATH" runtest CC_FOR_TARGET="gcc -gdwarf-4 -g0" CXX_FOR _TARGET="g++ -gdwarf-4 -g0" gdb.base/call-ar-st.exp

FAIL: gcc (GCC) 4.7.0 20111018 (experimental)
FAIL: PATH="$HOME/redhat/gcchead-root/bin:$PATH" runtest CC_FOR_TARGET="gcc -gdwarf-4 -fdebug-types-section -g0" CXX_FOR_TARGET="g++ -gdwarf-4 -fdebug-types-section -g0" gdb.base/call-ar-st.exp
PASS: PATH="$HOME/redhat/gcchead-root/bin:$PATH" runtest CC_FOR_TARGET="gcc -gdwarf-4 -fno-debug-types-section -g0" CXX_FOR_TARGET="g++ -gdwarf-4 -fno-debug-types-section -g0" gdb.base/call-ar-st.exp


Thanks,
Jan


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