This is the mail archive of the insight-prs@sources.redhat.com mailing list for the Insight project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: insight/193: breakpoint at ling can not be get rig of or theprogram somtimes exit abnormally


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
 
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]