public inbox for insight-prs@sourceware.org help / color / mirror / Atom feed
From: "zhao mindong" <foolfox008@hotmail.com> To: kseitz@sources.redhat.com Cc: insight-prs@sources.redhat.com, Subject: Re: insight/193: breakpoint at ling can not be get rig of or the program somtimes exit abnormally Date: Tue, 10 Dec 2002 18:53:00 -0000 [thread overview] Message-ID: <20021211025300.1378.qmail@sources.redhat.com> (raw) The following reply was made to PR insight/193; it has been noted by GNATS. From: "zhao mindong" <foolfox008@hotmail.com> To: kseitz@sources.redhat.com, foolfox008@hotmail.com, insight-prs@sources.redhat.com, nobody@sources.redhat.com, insight-gnats@sources.redhat.com Cc: Subject: Re: insight/193: breakpoint at ling can not be get rig of or the program somtimes exit abnormally Date: Wed, 11 Dec 2002 10:43:52 +0800 srctextwin.itb body SrcTextWin::remove_bp_at_line {{win {}} {y -1}} if {$Running} {return} # Look up the line... This foreach is an lassign... foreach {name line addr type} [lookup_line $win $y] { break } # FIXME: if there are multiple bp/tp at a single line, # we will (right now) always take the first one we find... 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] } asm { set bps [gdb_find_bp_at_addr $addr] } } i hope sunch change would not cause other troubles... >From: kseitz@sources.redhat.com >Reply-To: kseitz@sources.redhat.com, foolfox008@hotmail.com, >insight-prs@sources.redhat.com, kseitz@sources.redhat.com, >nobody@sources.redhat.com, insight-gnats@sources.redhat.com >To: foolfox008@hotmail.com, insight-prs@sources.redhat.com, >kseitz@sources.redhat.com, nobody@sources.redhat.com >Subject: Re: insight/193: breakpoint at ling can not be get rig of or the >program somtimes exit abnormally >Date: 10 Dec 2002 00:55:29 -0000 > >Synopsis: breakpoint at ling can not be get rig of or the program somtimes >exit abnormally > >Responsible-Changed-From-To: unassigned->kseitz >Responsible-Changed-By: kseitz >Responsible-Changed-When: Mon Dec 9 16:55:29 2002 >Responsible-Changed-Why: > who else? >State-Changed-From-To: open->feedback >State-Changed-By: kseitz >State-Changed-When: Mon Dec 9 16:55:29 2002 >State-Changed-Why: > I notice in your compile line that you are using windows-style paths. >Remember, gdb (and consequently insight) are cygwin applications. Therefore >paths _must_ be POSIX-style paths. So don't use "d:\file.c", use >"/cygdrive/d/file.c" or (better yet) "mkdir /d; mount d: /d" Then use >"/d/file.c" (this is what I do). > > Try recompiling your exe with POSIX paths and let me know if it helps >any. > >http://sources.redhat.com/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=insight&pr=193 _________________________________________________________________ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus
next reply other threads:[~2002-12-11 2:53 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2002-12-10 18:53 zhao mindong [this message] -- strict thread matches above, loose matches on Subject: below -- 2002-12-11 9:23 Keith Seitz 2002-12-09 16:55 kseitz 2002-11-27 20:03 foolfox008
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20021211025300.1378.qmail@sources.redhat.com \ --to=foolfox008@hotmail.com \ --cc=insight-prs@sources.redhat.com \ --cc=kseitz@sources.redhat.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).