public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
* RE: insihgt GUI didn't update
@ 2005-08-02 12:15 Julie Tao
  0 siblings, 0 replies; 4+ messages in thread
From: Julie Tao @ 2005-08-02 12:15 UTC (permalink / raw)
  To: Keith Seitz; +Cc: insight

Hi Keith,

As you say, it is the inferior_pid problem. The target is nuon,
originally ported on the very old gdb, now I am trying to port it to the
recently gdb and insight. I've changed the create_inferior function, and
the problem is gone. 

Thanks!

Julie

-----Original Message-----
From: Keith Seitz [mailto:keiths@redhat.com] 
Sent: Monday, August 01, 2005 2:46 PM
To: Julie Tao
Cc: insight@sourceware.org
Subject: RE: insihgt GUI didn't update

On Wed, 2005-07-27 at 17:59 -0400, Julie Tao wrote:

> After I hit "run" and the target stopped at the breakpoint, the source
> line is highlighted correctly in the source window, but all items
under
> "Control" are grayed out in the GUI.
> 
> I can only use "run" button, not other run controls.

What is the target? This sounds a lot like the old inferior_pid problem
(is the gdb global variable inferior_pid non-zero?).

Keith

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

* RE: insihgt GUI didn't update
  2005-07-27 21:59 Julie Tao
@ 2005-08-01 18:45 ` Keith Seitz
  0 siblings, 0 replies; 4+ messages in thread
From: Keith Seitz @ 2005-08-01 18:45 UTC (permalink / raw)
  To: Julie Tao; +Cc: insight

On Wed, 2005-07-27 at 17:59 -0400, Julie Tao wrote:

> After I hit "run" and the target stopped at the breakpoint, the source
> line is highlighted correctly in the source window, but all items under
> "Control" are grayed out in the GUI.
> 
> I can only use "run" button, not other run controls.

What is the target? This sounds a lot like the old inferior_pid problem
(is the gdb global variable inferior_pid non-zero?).

Keith

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

* RE: insihgt GUI didn't update
@ 2005-07-27 21:59 Julie Tao
  2005-08-01 18:45 ` Keith Seitz
  0 siblings, 1 reply; 4+ messages in thread
From: Julie Tao @ 2005-07-27 21:59 UTC (permalink / raw)
  To: Julie Tao, insight

Hi,

I add more descriptions here with my problem:

After I hit "run" and the target stopped at the breakpoint, the source
line is highlighted correctly in the source window, but all items under
"Control" are grayed out in the GUI.

I can only use "run" button, not other run controls.

But I can step or continue from the console window, still these buttons
are grayed.

Please kindly point me when these menu items and tool bar are get
update, and which tcl function does this job? I am definitely not TCL/TK
expert, spent quite a while to figure it, and still no clues.


Your help is appreciated.

Julie




-----Original Message-----
From: insight-owner@sourceware.org [mailto:insight-owner@sourceware.org]
On Behalf Of Julie Tao
Sent: Tuesday, July 26, 2005 6:28 PM
To: insight@sourceware.org
Subject: insihgt GUI didn't update

Hi,

I add a new processor in the targetselection.itb as the following:

# NUON
 set gdb_target(nuon,pretty-name) "NUON"
 set gdb_target(nuon,defbaud) ""
 set gdb_target(nuon,baud-rates) {}
 set gdb_target(nuon,cmd) "nuon"
 set gdb_target(nuon,runlist) {0 0 1 0}
 set gdb_target(nuon,options) ""
 set gdb_target(nuon,after_attaching) {}

I got problems using my local insight:

I set a breakpoint and hit the "run" button from the GUI, the target
actually stopped at the breakpoint correctly, but the insight GUI didn't
get updated, for example, "Step", "Next", "Finish" and "Continue" are
all grayed still. 

Do you have ideas why this happened?

Thanks!

Julie 

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

* insihgt GUI didn't update
@ 2005-07-26 22:28 Julie Tao
  0 siblings, 0 replies; 4+ messages in thread
From: Julie Tao @ 2005-07-26 22:28 UTC (permalink / raw)
  To: insight

Hi,

I add a new processor in the targetselection.itb as the following:

# NUON
 set gdb_target(nuon,pretty-name) "NUON"
 set gdb_target(nuon,defbaud) ""
 set gdb_target(nuon,baud-rates) {}
 set gdb_target(nuon,cmd) "nuon"
 set gdb_target(nuon,runlist) {0 0 1 0}
 set gdb_target(nuon,options) ""
 set gdb_target(nuon,after_attaching) {}

I got problems using my local insight:

I set a breakpoint and hit the "run" button from the GUI, the target
actually stopped at the breakpoint correctly, but the insight GUI didn't
get updated, for example, "Step", "Next", "Finish" and "Continue" are
all grayed still. 

Do you have ideas why this happened?

Thanks!

Julie 

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

end of thread, other threads:[~2005-08-02 12:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-08-02 12:15 insihgt GUI didn't update Julie Tao
  -- strict thread matches above, loose matches on Subject: below --
2005-07-27 21:59 Julie Tao
2005-08-01 18:45 ` Keith Seitz
2005-07-26 22:28 Julie Tao

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