From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22392 invoked by alias); 10 Apr 2003 20:05:15 -0000 Mailing-List: contact insight-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: insight-owner@sources.redhat.com Received: (qmail 22385 invoked from network); 10 Apr 2003 20:05:14 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 10 Apr 2003 20:05:14 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id h3AK5Ee20878 for ; Thu, 10 Apr 2003 16:05:14 -0400 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [172.16.52.156]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h3AK5EJ03566; Thu, 10 Apr 2003 16:05:14 -0400 Received: from dragon (romulus-int.sfbay.redhat.com [172.16.27.46]) by pobox.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h3AK5D609965; Thu, 10 Apr 2003 16:05:14 -0400 Subject: Re: Developing for Insight From: "Martin M. Hunt" To: "Liang, James" Cc: "'insight@sources.redhat.com'" In-Reply-To: <71251C7D5FB1D2119C8F0008C7A44ED103791FE6@es07snlnt.sandia.gov> References: <71251C7D5FB1D2119C8F0008C7A44ED103791FE6@es07snlnt.sandia.gov> Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Thu, 10 Apr 2003 20:05:00 -0000 Message-Id: <1050005115.1154.10.camel@Dragon> Mime-Version: 1.0 X-SW-Source: 2003-q2/txt/msg00010.txt.bz2 On Thu, 2003-04-10 at 12:46, Liang, James wrote: > Hello. I am porting GDB and would like to make the port work with Insight. > I had hoped to > just get a the text version to work without having the work on Insight, but > this is quickly becoming > infeasible. By "port" do you mean you are adding a new target to GDB? Or are you porting it to a new host OS? Or both? Which sources are you starting from? > I'm only a few days into it, and I already have a case where the text > version of GDB knows where I am > (when I hit the where button, it shows the source files and line numbers), > but the graphical version won't bring > this info up in the window. You should have gdb/gdbtk/library/help/debug.html. Take a look at that. Set the environment variable "GDBTK_DEBUG" before running insight then look for errors in the debug window. Add debug statements into the tcl source as necessary. See gdb/gdbtk/README for more information. > What development environment did you guys use to debug the tcl code for > Insight? Just the internal debug window. It can trace or display the output of tcl debug statements. >Is there a spec that tells which > bits of Insight functionality depend on which data structures or which text > GDB command? Nothing more than the README file and inline comments. Martin