public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
* insight connect window launching issues
@ 2001-07-05 15:42 Niraj Gupta
  2001-07-05 16:05 ` Keith Seitz
  0 siblings, 1 reply; 2+ messages in thread
From: Niraj Gupta @ 2001-07-05 15:42 UTC (permalink / raw)
  To: insight

this top of the tree in cvs for insight, been seeing this for last couple of 
weeks, 


insight is cross compiled for powerpc-linux target using
Reading specs from /usr/lib/gcc-lib/i386-linux/2.95.4/specs
gcc version 2.95.4 20010703 (Debian prerelease)

when i launch run->connect i get the following error

bad window path name ""
    while executing
"winfo toplevel [namespace tail $over]"
    (procedure "::ManagedWin::_create" body line 46)
    invoked from within
"_create TargetSelection -exportcancel 1 -center -transient"
    ("eval" body line 1)
    invoked from within
"eval _create $class $args"
    (procedure "::ManagedWin::_open" body line 17)
    invoked from within
"_open TargetSelection -exportcancel 1 -center -transient"
    ("eval" body line 1)
    invoked from within
"eval _open $class $args"
    (procedure "::ManagedWin::open" body line 3)
    invoked from within
"ManagedWin::open TargetSelection -exportcancel 1 -center  -transient"
    (procedure "set_target_name" line 10)
    invoked from within
"set_target_name $prompt"
    (procedure "set_target" line 14)
    invoked from within
"set_target"
    (procedure "gdbtk_attach_remote" line 8)
    invoked from within
"gdbtk_attach_remote"
    (procedure "gdbtk_connect" line 8)
    invoked from within
"gdbtk_connect $async"
    (object "::.srcwin0.srcwin.container.pane0.childsite.con" method 
"::SrcBar::do_connect" body line 3)
    invoked from within
"::.srcwin0.srcwin.container.pane0.childsite.con do_connect 
.srcwin0.srcwin.container.pane0.childsite.con.menubar.m.run"
    invoked from within
".srcwin0.#srcwin0#srcwin#container#pane0#childsite#con#menubar#m.#srcwin0#srcwin#container#pane0#childsite#con#menubar#m#run 
invoke active"
    ("uplevel" body line 1)
    invoked from within
"uplevel #0 [list $w invoke active]"
    (procedure "tkMenuInvoke" line 29)
    invoked from within
"tkMenuInvoke 
.srcwin0.#srcwin0#srcwin#container#pane0#childsite#con#menubar#m.#srcwin0#srcwin#container#pane0#childsite#con#menubar#m#run 
1"
    (command bound to event)errorCode is NONE


also i see this warning/error during compilation,
use of tmpnam is dangerous, use mkstemp instead while compiling some of the 
files, issuing a recompile continues and finishes compilation

please help
regards
nirja gupta

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

* Re: insight connect window launching issues
  2001-07-05 15:42 insight connect window launching issues Niraj Gupta
@ 2001-07-05 16:05 ` Keith Seitz
  0 siblings, 0 replies; 2+ messages in thread
From: Keith Seitz @ 2001-07-05 16:05 UTC (permalink / raw)
  To: Niraj Gupta; +Cc: insight

On Thu, 5 Jul 2001, Niraj Gupta wrote:

> this top of the tree in cvs for insight, been seeing this for last couple of
> weeks,

I was just checking to see if anyone was actually checking out insight...
NOT! :-)

I've checked in a patch for this.

> also i see this warning/error during compilation,
> use of tmpnam is dangerous, use mkstemp instead while compiling some of the
> files, issuing a recompile continues and finishes compilation

I have no idea what you might be talking about. Can you give me some more
details (the exact error from make)?

Thanks for the bug pointer
Keith

Index: managedwin.itb
===================================================================
RCS file: /cvs/src/src/gdb/gdbtk/library/managedwin.itb,v
retrieving revision 1.15
diff -u -p -r1.15 managedwin.itb
--- managedwin.itb	2001/06/18 17:13:30	1.15
+++ managedwin.itb	2001/07/05 23:02:24
@@ -244,11 +244,13 @@ body ManagedWin::_create { class args }
   wm minsize $top 20 20
   update idletasks

-  if {$over != "" || $center} {
+  if {$over != ""} {
     # center new window
     center_window $top -over [winfo toplevel [namespace tail $over]]
+  } elseif {$center} {
+    center_window $top
   }
-
+
   if {$transient} {
     wm resizable $top 0 0
     wm transient $top .

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

end of thread, other threads:[~2001-07-05 16:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-05 15:42 insight connect window launching issues Niraj Gupta
2001-07-05 16:05 ` Keith Seitz

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