From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27173 invoked by alias); 28 Jul 2005 06:13:35 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 27153 invoked by uid 22791); 28 Jul 2005 06:13:24 -0000 Received: from ac-202-238-16-ind.acmet.com (HELO alice.acmet.com) (61.16.238.202) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Thu, 28 Jul 2005 06:13:24 +0000 Received: from monika (localhost [127.0.0.1] (may be forged)) by alice.acmet.com (8.11.6/8.11.6) with ESMTP id j6S6VN125879; Thu, 28 Jul 2005 12:01:23 +0530 From: "Monika Chaddha" To: "'Dave Trollope'" Cc: "'Cuthbertson, Reva D.'" , "'Daniel Jacobowitz'" , Subject: RE: Question regarding setting breakpoints on 'C' labels and the handling of DW_TAG_label in new_symbol() in dwarf2read.c. Date: Thu, 28 Jul 2005 06:13:00 -0000 Message-ID: <005801c5933b$c7b74f00$5100a8c0@monika> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit In-Reply-To: <42E85DC9.6040107@lucent.com> X-SW-Source: 2005-07/txt/msg00262.txt.bz2 I think that this can be achieved by putting breakpoints using function names. >-----Original Message----- >From: gdb-owner@sources.redhat.com [mailto:gdb-owner@sources.redhat.com] On >Behalf Of Dave Trollope >Sent: Thursday, July 28, 2005 9:54 AM >To: Daniel Jacobowitz >Cc: Cuthbertson, Reva D.; gdb@sources.redhat.com >Subject: Re: Question regarding setting breakpoints on 'C' labels and the >handling of DW_TAG_label in new_symbol() in dwarf2read.c. > > >I too tried this recently and was disappointed to find it didn't work. >Heres why I was trying it: > >We have a number of source trees where code changes regularly. By using >a label, we can write generic breakpoint scripts that are source tree >independant (I.E. Don't need line numbers to place the breakpoint. etc). > >Is there an alternative way to do what we are trying to achieve? > >Cheers >Dave >Daniel Jacobowitz wrote: > >>On Thu, Jun 23, 2005 at 04:56:15PM -0700, Cuthbertson, Reva D. wrote: >> >> >>>Hello, >>> >>>I was trying to set a breakpoint on a 'C' label in gdb and when I could >>>not do it I tried to find out why. I noticed a few things and had a few >>>questions. >>> >>> >> >>Simply, GDB does not support this. It may have once upon a time, but >>no one has used the feature for years. >> >> >> >>