From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8375 invoked by alias); 25 Aug 2008 07:24:23 -0000 Received: (qmail 8367 invoked by uid 22791); 25 Aug 2008 07:24:22 -0000 X-Spam-Check-By: sourceware.org Received: from yx-out-1718.google.com (HELO yx-out-1718.google.com) (74.125.44.156) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 25 Aug 2008 07:23:48 +0000 Received: by yx-out-1718.google.com with SMTP id 3so1031748yxi.48 for ; Mon, 25 Aug 2008 00:23:46 -0700 (PDT) Received: by 10.150.124.2 with SMTP id w2mr6590135ybc.170.1219649026058; Mon, 25 Aug 2008 00:23:46 -0700 (PDT) Received: by 10.150.92.14 with HTTP; Mon, 25 Aug 2008 00:23:45 -0700 (PDT) Message-ID: <724307610808250023p50d88eddr7fd5b097ca4f0076@mail.gmail.com> Date: Mon, 25 Aug 2008 07:24:00 -0000 From: Tommy To: insight@sourceware.org Subject: Problems with SrcWin MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline Mailing-List: contact insight-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: insight-owner@sourceware.org X-SW-Source: 2008-q3/txt/msg00038.txt.bz2 Hi all, I'm trying to fix problems happened in a porting of Insight (version 6.7.1.) They are: (1) after Insight is connected to target, the Control menu and button items are still disabled. They'll be enabled after some actions are done (ex. execute 'stepi' from ConsoleWindow.) I've checked debug info from the ManagedWin's DebugWin - it seems to call "SrcBar::enable_ui 2" in connecting but call "SrcBar::enable_ui 1" in stepping. I know many ports of Insight didn't patch these tcl/tk files much but leave target-dependent things in their port C files. Do I miss something? or this should be fixed in tcl/tk layer? (2) after Insight is connected to target, the SrcWin displays nothing... (there is no 'file', 'load', and 'symbol-file' command executed.) I think, if there is no corresponding symbolic info, it should fetch memory contents near $PC and display disassembled instructions. Thanks.