public inbox for insight-prs@sourceware.org
help / color / mirror / Atom feed
* insight/131: Dismissing an int 3 dialog box
@ 2002-03-04  8:33 fred
  0 siblings, 0 replies; 3+ messages in thread
From: fred @ 2002-03-04  8:33 UTC (permalink / raw)
  To: insight-gnats


>Number:         131
>Category:       insight
>Synopsis:       Dismissing an int 3 dialog box
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Mar 04 08:33:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     fred@nextnewgig.com
>Release:        5.1
>Organization:
>Environment:
Cygwin
>Description:
I'm running Insight version 5.1 under Cygwin. If I embed an int 3 instruction in my code and I my program gets to the int 3, a Warning dialog box with the message: 
 
 Program received signal SIGTRAP, Trace/breakpoint trap
 
pops up. This is fine and if I click on the Ok button the dialog box goes away as expected, however, if I hit return to dismiss the diaglog box, a GDB Error dialog box with the message: 
 
 Error: can't resolve scoped variable "@itcl ::.warningdlg0.warningdlg ::ModalDialog::unpost_notification": can't find object ::.warningdlg0.warningdlg
 
pops up and if I click on the Stack trace button I get:
 
Stack trace shows:
 
 can't resolve scoped variable "@itcl ::.warningdlg0.warningdlg ::ModalDialog::unpost_notification": can't find object ::.warningdlg0.warningdlg
     while executing
 "set {@itcl ::.warningdlg0.warningdlg ::ModalDialog::unpost_notification} 1"
     ("after" script)errorCode is NONE
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: insight/131: Dismissing an int 3 dialog box
@ 2002-03-22 13:50 kseitz
  0 siblings, 0 replies; 3+ messages in thread
From: kseitz @ 2002-03-22 13:50 UTC (permalink / raw)
  To: fred, insight-prs, kseitz, nobody

Synopsis: Dismissing an int 3 dialog box

Responsible-Changed-From-To: unassigned->kseitz
Responsible-Changed-By: kseitz
Responsible-Changed-When: Fri Mar 22 13:50:40 2002
Responsible-Changed-Why:
    mine
State-Changed-From-To: open->feedback
State-Changed-By: kseitz
State-Changed-When: Fri Mar 22 13:50:40 2002
State-Changed-Why:
    See below.

http://sources.redhat.com/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=insight&pr=131


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: insight/131: Dismissing an int 3 dialog box
@ 2002-03-22 13:43 Keith Seitz
  0 siblings, 0 replies; 3+ messages in thread
From: Keith Seitz @ 2002-03-22 13:43 UTC (permalink / raw)
  To: nobody; +Cc: insight-prs

The following reply was made to PR insight/131; it has been noted by GNATS.

From: Keith Seitz <keiths@redhat.com>
To: <fred@nextnewgig.com>
Cc: <insight-gnats@sources.redhat.com>
Subject: Re: insight/131: Dismissing an int 3 dialog box
Date: Fri, 22 Mar 2002 13:42:09 -0800 (PST)

 On 4 Mar 2002 fred@nextnewgig.com wrote:
 
 >  can't resolve scoped variable "@itcl ::.warningdlg0.warningdlg ::ModalDialog::unpost_notification": can't find object ::.warningdlg0.warningdlg
 >      while executing
 >  "set {@itcl ::.warningdlg0.warningdlg ::ModalDialog::unpost_notification} 1"
 >      ("after" script)errorCode is NONE
 
 Ok, I think I've figured this out. ModalDialog::unpost was being called
 twice for the WarningDialog. <Return> in the warning dialog was bound to
 invoke the button. But the button is the only button (and starts with the
 focus), so it was being invoked via a default binding.
 
 I've "fixed" this by having <Return> not run any other bindings. This
 doesn't seem to affect current trunk sources, so I am not going to check
 anything in there.
 
 Apply this patch in src/gdb/gdbtk and re-install gdb. Please let me know
 if this fixes the problem for you.
 
 Keith
 
 Index: library/warning.tcl
 ===================================================================
 RCS file: /cvs/src/src/gdb/gdbtk/library/warning.tcl,v
 retrieving revision 1.1.1.1
 diff -u -p -r1.1.1.1 warning.tcl
 --- library/warning.tcl	2000/02/07 00:19:42	1.1.1.1
 +++ library/warning.tcl	2002/03/22 21:37:49
 @@ -88,7 +88,7 @@ body WarningDlg::constructor {args} {
 
    button $itk_interior.f.b.ok -text OK -underline 0 -command [code $this unpost]
    bind $itk_interior.f.b.ok <Return> \
 -    "$itk_interior.f.b.ok flash; $itk_interior.f.b.ok invoke"
 +    "$itk_interior.f.b.ok flash; $itk_interior.f.b.ok invoke; break"
    focus $itk_interior.f.b.ok
 
    if {$ignorable != ""} {
 


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-03-22 21:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-03-04  8:33 insight/131: Dismissing an int 3 dialog box fred
2002-03-22 13:43 Keith Seitz
2002-03-22 13:50 kseitz

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).