From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10119 invoked by alias); 17 Feb 2003 18:38:01 -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 10111 invoked from network); 17 Feb 2003 18:38:01 -0000 Received: from unknown (HELO localhost.redhat.com) (172.16.49.200) by 172.16.49.205 with SMTP; 17 Feb 2003 18:38:01 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 32B043CE5; Mon, 17 Feb 2003 13:38:03 -0500 (EST) Message-ID: <3E512C0A.1020700@redhat.com> Date: Mon, 17 Feb 2003 18:38:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.1) Gecko/20021211 X-Accept-Language: en-us, en MIME-Version: 1.0 To: insight@sourceware.org Cc: insight@sources.redhat.com, Christopher Faylor Subject: Re: Insight build problem on cygwin (tentative patch enclosed) References: <83040F98B407E6428FEC18AC720F5D732DB7CA@exchange.tropicnetworks.com> <1045176482.1490.50.camel@lindt.uglyboxes.com> <1045499585.1668.11.camel@lindt.uglyboxes.com> <20030217170407.GC5837@redhat.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-q1/txt/msg00137.txt.bz2 > - static const struct interp_procs tk_procs = > - { > - tk_init, > - gdbtk_resume, > - gdbtk_suspend, > - gdbtk_exec, > - gdbtk_prompt_p, > - gdbtk_command_loop, > - }; > - > - interp_add (interp_new ("gdbtk", NULL, NULL, &tk_procs)); > - FYI, Removing from _initialize*() is wrong. Interpreters should only be registered in _initialize*() function. I think the underlying problem is general confusion over the separation of powers between interp_add() and interp_init(). BTW, even with that NULL, it worked for me. Is there something cygwin centric going on? Andrew From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10326 invoked by alias); 17 Feb 2003 18:38:11 -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 10319 invoked from network); 17 Feb 2003 18:38:11 -0000 Received: from unknown (HELO localhost.redhat.com) (172.16.49.200) by 172.16.49.205 with SMTP; 17 Feb 2003 18:38:11 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 32B043CE5; Mon, 17 Feb 2003 13:38:03 -0500 (EST) Message-ID: <3E512C0A.1020700@redhat.com> Date: Mon, 17 Feb 2003 18:42:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.1) Gecko/20021211 X-Accept-Language: en-us, en MIME-Version: 1.0 To: insight@sourceware.org Cc: insight@sources.redhat.com, Christopher Faylor Subject: Re: Insight build problem on cygwin (tentative patch enclosed) References: <83040F98B407E6428FEC18AC720F5D732DB7CA@exchange.tropicnetworks.com> <1045176482.1490.50.camel@lindt.uglyboxes.com> <1045499585.1668.11.camel@lindt.uglyboxes.com> <20030217170407.GC5837@redhat.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-q1/txt/msg00138.txt.bz2 Message-ID: <20030217184200.AtKeacdQd4hePU58LYz2ASByI7hwdZDd9MXZvWFqqUs@z> > - static const struct interp_procs tk_procs = > - { > - tk_init, > - gdbtk_resume, > - gdbtk_suspend, > - gdbtk_exec, > - gdbtk_prompt_p, > - gdbtk_command_loop, > - }; > - > - interp_add (interp_new ("gdbtk", NULL, NULL, &tk_procs)); > - FYI, Removing from _initialize*() is wrong. Interpreters should only be registered in _initialize*() function. I think the underlying problem is general confusion over the separation of powers between interp_add() and interp_init(). BTW, even with that NULL, it worked for me. Is there something cygwin centric going on? Andrew