This is the mail archive of the
insight-prs@sources.redhat.com
mailing list for the Insight project.
Re: insight/193: breakpoint at ling can not be get rig of or theprogram somtimes exit abnormally
- From: Keith Seitz <keiths at redhat dot com>
- To: kseitz at sources dot redhat dot com
- Cc: insight-prs at sources dot redhat dot com,
- Date: 11 Dec 2002 17:23:02 -0000
- Subject: Re: insight/193: breakpoint at ling can not be get rig of or theprogram somtimes exit abnormally
- Reply-to: Keith Seitz <keiths at redhat dot com>
The following reply was made to PR insight/193; it has been noted by GNATS.
From: Keith Seitz <keiths@redhat.com>
To: zhao mindong <foolfox008@hotmail.com>
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