From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32370 invoked by alias); 4 Jul 2004 19:28:09 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 32317 invoked from network); 4 Jul 2004 19:28:09 -0000 Received: from unknown (HELO takamaka.act-europe.fr) (142.179.108.108) by sourceware.org with SMTP; 4 Jul 2004 19:28:09 -0000 Received: by takamaka.act-europe.fr (Postfix, from userid 507) id 7F67947D8D; Sun, 4 Jul 2004 12:28:08 -0700 (PDT) Date: Sun, 04 Jul 2004 19:28:00 -0000 From: Joel Brobecker To: gdb-patches@sources.redhat.com Subject: Re: RFC on how to implement something between solib-irix and procfs Message-ID: <20040704192808.GE1148@gnat.com> References: <20040704192518.GD1148@gnat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040704192518.GD1148@gnat.com> User-Agent: Mutt/1.4i X-SW-Source: 2004-07/txt/msg00031.txt.bz2 Sigh, a couple of corrections: > My question is: Where should I put the code: I need to do some procfs > operations from solib-irix. I was thinking of having all the code doing > the procfs stuff inside procfs, and call that code from solib-irix.c procfs.c > until I get the __dbx_lin() address. But at the same, it seems to me > that solib-irix.c is a target-dependent file, while procfs.c is > host-dependent. So it is not impossible that a cross-debugger be built, > making my procfs operations unavoidable (assuming I can link, which is unavailable > not guarantied either). -- Joel