public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
From: Fernando Nasser <fnasser@cygnus.com>
To: Mo DeJong <mdejong@cygnus.com>
Cc: insight@sources.redhat.com
Subject: Fix to Breakpoint right-click menu bug [Was: TODO list (REPOST)]
Date: Wed, 11 Oct 2000 15:31:00 -0000	[thread overview]
Message-ID: <39E4EA30.A76E544C@cygnus.com> (raw)
In-Reply-To: <Pine.SOL.3.91.1001011145015.3659F-100000@cse.cygnus.com>

Mo DeJong wrote:
> 
> > > In the
> > > source window, a right click brings up these options:
> > >
> > > - Continue to Here
> > > - Jump to Here
> > > - Delete Breakpoint
> > > - Jump to Here
> > > - Jump to Here
> > >
> > > Why are there two "Jump to Here" options?
> >
> > That would probably be my fault (as I added Jump to Here).
> > However, I don't see this in here.  I would need to know under
> > which conditions this happens.
> 
> Just set a BP by clicking to the left of the line, then right
> click on the red BP square, presto!
> 

Here is the fix.  It was me and my cut-and-paste mistakes (I get interrupted
all the time and sometines go back in the wrong context :-)

-- 
Fernando Nasser
Red Hat - Toronto                       E-Mail:  fnasser@redhat.com
2323 Yonge Street, Suite #300
Toronto, Ontario   M4P 2C9



Index: srctextwin.itb
===================================================================
RCS file: /cvs/src/src/gdb/gdbtk/library/srctextwin.itb,v
retrieving revision 1.10
diff -c -p -r1.10 srctextwin.itb
*** srctextwin.itb	2000/10/04 20:35:32	1.10
--- srctextwin.itb	2000/10/11 22:30:09
*************** body SrcTextWin::build_popups {} {
*** 239,245 ****
      if {[pref get gdb/control_target]} {
        
        addPopup tp "Continue to Here" "$this continue_to_here" green 0 0
!       addPopup bp "Jump to Here" "$this jump_to_here" {} 0 0
        #	$popups(tp) add separator    
  
        # Currently you cannot set a tracepoint and a breakpoint at the same line...
--- 239,245 ----
      if {[pref get gdb/control_target]} {
        
        addPopup tp "Continue to Here" "$this continue_to_here" green 0 0
!       addPopup tp "Jump to Here" "$this jump_to_here" {} 0 0
        #	$popups(tp) add separator    
  
        # Currently you cannot set a tracepoint and a breakpoint at the same line...
*************** body SrcTextWin::build_popups {} {
*** 272,278 ****
      if {!$Browsing && [pref get gdb/control_target]} {
        addPopup bp_and_tp "Continue to Here" "$this continue_to_here" \
  	green 0 0
!       addPopup bp "Jump to Here" "$this jump_to_here" \
  	green 0 0
        $popups(bp_and_tp) add separator    
      }
--- 272,278 ----
      if {!$Browsing && [pref get gdb/control_target]} {
        addPopup bp_and_tp "Continue to Here" "$this continue_to_here" \
  	green 0 0
!       addPopup bp_and_tp "Jump to Here" "$this jump_to_here" \
  	green 0 0
        $popups(bp_and_tp) add separator    
      }

  parent reply	other threads:[~2000-10-11 15:31 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-10-10  8:21 TODO list (REPOST) Fernando Nasser
2000-10-10 23:15 ` Mo DeJong
2000-10-11  6:25   ` Grant Edwards
2000-10-11  6:54     ` Fernando Nasser
2000-10-11 10:26       ` Tom Tromey
2000-10-11 10:38         ` Grant Edwards
2000-10-11 10:39         ` Mo DeJong
2000-10-11 14:17 ` Mo DeJong
2000-10-11 14:44   ` Fernando Nasser
2000-10-11 14:53     ` Mo DeJong
2000-10-11 15:03       ` Fernando Nasser
2000-10-11 15:31       ` Fernando Nasser [this message]
2000-10-11 14:56     ` RMS in the press [Was: TODO list (REPOST)] Fernando Nasser

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=39E4EA30.A76E544C@cygnus.com \
    --to=fnasser@cygnus.com \
    --cc=insight@sources.redhat.com \
    --cc=mdejong@cygnus.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: link
Be 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).