From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1143 invoked by alias); 21 Feb 2010 19:09:56 -0000 Received: (qmail 1115 invoked by uid 22791); 21 Feb 2010 19:09:53 -0000 X-SWARE-Spam-Status: No, hits=-6.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,SPF_PASS 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; Sun, 21 Feb 2010 19:07:36 +0000 Received: from int-mx04.intmail.prod.int.phx2.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.17]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o1LJ7YMc017078 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 21 Feb 2010 14:07:34 -0500 Received: from [IPv6:::1] (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx04.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o1LJ7Uic009729 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 21 Feb 2010 14:07:33 -0500 Message-ID: <4B818472.5000101@redhat.com> Date: Tue, 23 Feb 2010 23:59:00 -0000 From: Keith Seitz User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.7) Gecko/20100120 Fedora/3.0.1-1.fc11 Lightning/1.0b2pre Thunderbird/3.0.1 MIME-Version: 1.0 To: Bruce Korb CC: insight@sourceware.org Subject: Re: breakpoint setting bug References: <4B8171D2.3050802@gmail.com> <4B817B40.7050902@redhat.com> <668c430c1002211040t2c186e52o66a87ad4cd1f7f25@mail.gmail.com> In-Reply-To: <668c430c1002211040t2c186e52o66a87ad4cd1f7f25@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact insight-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: insight-owner@sourceware.org X-SW-Source: 2010-q1/txt/msg00026.txt.bz2 On 02/21/2010 10:40 AM, Bruce Korb wrote: >> bug. I used your example code to try to build a test case, but I could not >> reproduce the bug. > > Figured. :( Isn't that how it always goes? O:-) >> Was this application compiled with optimization? > > sharutils compiles thus: >> gcc -DLOCALEDIR=\"/old-home/gnu/proj/sharutils-inst/share/locale\" \ >> -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../lib -I../intl -g -Wall -MT shar.o \ >> -MD -MP -MF .deps/shar.Tpo -c -o shar.o shar.c > though I had the same symptom when adding "-O0" to the command. I don't see anything suspicious in that, so it's definitely a bug. >> How did you set the breakpoint? > In the command window: >> gdb> b emit_file_text Okay, that makes life a lot easier: It's a gdb bug. :-) > GNU gdb 6.8 Ah. 6.8. I don't suppose I could cajole you into trying something a little more recent? Gdb is currently on it's 7.1 release, so you're using something that is almost three releases behind. FWIW, I use insight pretty much daily, and I only ever use a snapshot. I seldom run into problems. > I'm sure. That's the part that will take me a little time to get to.... > Sorry to just tease you. ;) > If nothing pops up as obvious, I'll try to get to it in a week or so. No problem. I'll be here. Keith