From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7448 invoked by alias); 11 Dec 2002 17:23:03 -0000 Mailing-List: contact insight-prs-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: insight-prs-owner@sources.redhat.com Received: (qmail 7434 invoked by uid 71); 11 Dec 2002 17:23:02 -0000 Date: Wed, 11 Dec 2002 09:23:00 -0000 Message-ID: <20021211172302.7433.qmail@sources.redhat.com> To: kseitz@sources.redhat.com Cc: insight-prs@sources.redhat.com, From: Keith Seitz Subject: Re: insight/193: breakpoint at ling can not be get rig of or the program somtimes exit abnormally Reply-To: Keith Seitz X-SW-Source: 2002-q4/txt/msg00036.txt.bz2 List-Id: The following reply was made to PR insight/193; it has been noted by GNATS. From: Keith Seitz To: zhao mindong Cc: insight-gnats@sources.redhat.com Subject: Re: insight/193: breakpoint at ling can not be get rig of or the program somtimes exit abnormally Date: Wed, 11 Dec 2002 09:14:33 -0800 (PST) On Wed, 11 Dec 2002, zhao mindong wrote: > switch $type { > # src { set bps [gdb_find_bp_at_line $name $addr] } i think the problem > # takes place here,the $current(filename) include the absolutepath, > # $name only includes the name of the file--no path info,so when we want > # to get rid of the breakpoint ,it couldn't find the source file. > src { set bps [gdb_find_bp_at_line $current(filename) $addr] } So, then, what is current(filename) at this point when the bug occurs? Keith