From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18004 invoked by alias); 12 Apr 2013 08:13:24 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 17990 invoked by uid 89); 12 Apr 2013 08:13:24 -0000 X-Spam-SWARE-Status: No, score=-4.2 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_NO,RCVD_IN_NIX_SPAM,SPF_SOFTFAIL autolearn=no version=3.3.1 Received: from mtaout20.012.net.il (HELO mtaout20.012.net.il) (80.179.55.166) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Fri, 12 Apr 2013 08:13:22 +0000 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0ML400F00UIT0P00@a-mtaout20.012.net.il> for gdb@sourceware.org; Fri, 12 Apr 2013 11:12:53 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0ML400EWLUTHATG0@a-mtaout20.012.net.il>; Fri, 12 Apr 2013 11:12:53 +0300 (IDT) Date: Fri, 12 Apr 2013 08:13:00 -0000 From: Eli Zaretskii Subject: Re: Completion on static functions In-reply-to: <20130412064749.GA14827@host2.jankratochvil.net> To: Jan Kratochvil Cc: gdb@sourceware.org Reply-to: Eli Zaretskii Message-id: <83hajc9ng9.fsf@gnu.org> References: <83d2u6cnkv.fsf@gnu.org> <83li8o9sph.fsf@gnu.org> <20130412064749.GA14827@host2.jankratochvil.net> X-SW-Source: 2013-04/txt/msg00029.txt.bz2 > Date: Fri, 12 Apr 2013 08:47:49 +0200 > From: Jan Kratochvil > Cc: gdb@sourceware.org > > On Fri, 12 Apr 2013 08:19:22 +0200, Eli Zaretskii wrote: > > So does this silence mean that no one else bumped into this yet? > > there is no reproducer above. Sorry about that. I didn't imagine the problem was so rare. My bad. Try this: build the latest sharutils 4.13.4 with CFLAGS='-g3 -O2', then do this: $ cd src && gdb ./shar (gdb) break generate_full_ TAB (There is a static function named generate_full_header in shar.c.) As mentioned before, the problem happened to me with GCC 4.7.2 on MinGW. As expected, GDB reports (in "info source") that the debug info is DWARF 2 with preprocessor macro info. Let me know if you need more info from GDB, I have the build directory handy with the object and executable files that trigger this problem.