From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11679 invoked by alias); 20 Oct 2011 14:56:08 -0000 Received: (qmail 11670 invoked by uid 22791); 20 Oct 2011 14:56:07 -0000 X-SWARE-Spam-Status: No, hits=-6.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,SPF_HELO_PASS,TW_GD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 20 Oct 2011 14:55:47 +0000 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p9KEtjWV003879 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 20 Oct 2011 10:55:45 -0400 Received: from host1.jankratochvil.net (ovpn-116-16.ams2.redhat.com [10.36.116.16]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id p9KEthbg000599 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 20 Oct 2011 10:55:45 -0400 Received: from host1.jankratochvil.net (localhost [127.0.0.1]) by host1.jankratochvil.net (8.14.4/8.14.4) with ESMTP id p9KEtgsh000539; Thu, 20 Oct 2011 16:55:42 +0200 Received: (from jkratoch@localhost) by host1.jankratochvil.net (8.14.4/8.14.4/Submit) id p9KEtf9a000538; Thu, 20 Oct 2011 16:55:41 +0200 Date: Thu, 20 Oct 2011 15:00:00 -0000 From: Jan Kratochvil To: Cary Coutant Cc: Tom Tromey , gdb-patches@sourceware.org, Doug Evans Subject: Regression for .debug_types [Re: [patch] Allow dummy CUs created by incremental linker] Message-ID: <20111020145541.GA31871@host1.jankratochvil.net> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2011-10/txt/msg00560.txt.bz2 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 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