From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15523 invoked by alias); 26 May 2011 17:39:57 -0000 Received: (qmail 15512 invoked by uid 22791); 26 May 2011 17:39:56 -0000 X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from e24smtp05.br.ibm.com (HELO e24smtp05.br.ibm.com) (32.104.18.26) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 26 May 2011 17:39:40 +0000 Received: from /spool/local by e24smtp05.br.ibm.com with XMail ESMTP for from ; Thu, 26 May 2011 14:39:34 -0300 Received: from mailhub3.br.ibm.com ([9.18.232.110]) by e24smtp05.br.ibm.com ([10.172.0.141]) with XMail ESMTP; Thu, 26 May 2011 14:39:00 -0300 Received: from d24av02.br.ibm.com (d24av02.br.ibm.com [9.8.31.93]) by mailhub3.br.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id p4QHeR0J2834498 for ; Thu, 26 May 2011 14:40:27 -0300 Received: from d24av02.br.ibm.com (loopback [127.0.0.1]) by d24av02.br.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id p4QHcuvA005784 for ; Thu, 26 May 2011 14:38:56 -0300 Received: from [9.18.233.190] (dyn534998.br.ibm.com [9.18.233.190]) by d24av02.br.ibm.com (8.14.4/8.13.1/NCO v10.0 AVin) with ESMTP id p4QHcuj4005690; Thu, 26 May 2011 14:38:56 -0300 Subject: Re: [patch] Remove HAVE_UINTPTR_T from gdb_thread_db.h From: Thiago Jung Bauermann To: Yao Qi Cc: Joel Brobecker , gdb-patches@sourceware.org In-Reply-To: <4DD0B8D8.9060004@codesourcery.com> References: <4DCE1F43.1000301@codesourcery.com> <20110514170722.GD19356@adacore.com> <4DD0B8D8.9060004@codesourcery.com> Content-Type: text/plain; charset="UTF-8" Date: Thu, 26 May 2011 17:39:00 -0000 Message-ID: <1306431533.2008.18.camel@hactar> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit x-cbid: 11052617-2362-0000-0000-00000398BADE X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2011-05/txt/msg00613.txt.bz2 On Mon, 2011-05-16 at 13:40 +0800, Yao Qi wrote: > On 05/15/2011 01:07 AM, Joel Brobecker wrote: > >> When I am trying to move gdb_thread_db.h to common/ dir, > > > > I am so sorry for not having the time to work on this project, > > and so it make me uncomfortable saying this without offering > > advice, but I still feel uncomfortable about not having a clear > > plan, and not knowing where we are going with this. I'm afraid > > that the end result might be a tighter inter-dependency between > > GDB and GDBserver instead of GDB and GDBserver sitting on top > > of a common API (we could call it a mini libgdb). > > I wrote up plan in wiki http://sourceware.org/gdb/wiki/Common . I am > not good at naming a project, so I name it as "Common" temporally. > > The plan is not done. I will complete it, and fill in with more details. > > Comments are welcome, and thanks in advance to put up with my writing. I'm not familiar with gdbserver but would it make sense to make gdbserver internally use the target_ops vector? That would make GDB's -nat.c files usable without modification in gdbserver. Then it would be a matter of porting the gdbserver's additional features which GDB native doesn't have. -- []'s Thiago Jung Bauermann IBM Linux Technology Center