From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2032 invoked by alias); 26 Apr 2007 22:44:50 -0000 Received: (qmail 2024 invoked by uid 22791); 26 Apr 2007 22:44:49 -0000 X-Spam-Check-By: sourceware.org Received: from return.false.org (HELO return.false.org) (66.207.162.98) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 26 Apr 2007 23:44:45 +0100 Received: from return.false.org (localhost [127.0.0.1]) by return.false.org (Postfix) with ESMTP id DCDF14B267; Thu, 26 Apr 2007 17:44:43 -0500 (CDT) Received: from caradoc.them.org (dsl093-172-095.pit1.dsl.speakeasy.net [66.93.172.95]) by return.false.org (Postfix) with ESMTP id AF2084B262; Thu, 26 Apr 2007 17:44:39 -0500 (CDT) Received: from drow by caradoc.them.org with local (Exim 4.67) (envelope-from ) id 1HhCha-0003oX-To; Thu, 26 Apr 2007 18:44:38 -0400 Date: Thu, 26 Apr 2007 22:44:00 -0000 From: Daniel Jacobowitz To: Pedro Alves Cc: gdb@sourceware.org Subject: Re: Win32 gdbserver dll support. Message-ID: <20070426224438.GA14312@caradoc.them.org> Mail-Followup-To: Pedro Alves , gdb@sourceware.org References: <4053daab0704260940t4e0a9593lc706794c718cc3a9@mail.gmail.com> <4631274C.5080603@portugalmail.pt> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4631274C.5080603@portugalmail.pt> User-Agent: Mutt/1.5.15 (2007-04-09) X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2007-04/txt/msg00158.txt.bz2 On Thu, Apr 26, 2007 at 11:27:24PM +0100, Pedro Alves wrote: > I actually bit the bullet and I'm investigating/implementing > remote open/close/read/write/lseek. It seems to be enough for > now. If there are any objections, please speak up, you'll > probably save me "a couple" of hours ;) Please wait at least a little bit :-) I have a complete implementation of this for gdb and gdbserver. I just never got around to posting it - but we were reminded of it last week and I've actually got it on my work schedule to submit these bits in the next week or two. I don't understand why you're trying to use file operations to get a link map, though. I also have the GDB side of a DLL implementation; I posted it to gdb@ in a discussion with Stephen Smith at the end of last year, but that was an untested / unfinished port of my work from an older GDB branch. I'd been planning to write a gdbserver implementation of DLL events to go with it, so that it could be tested (it was originally for a custom SymbianOS stub). Here's the docs - the patch in that message doesn't apply, Stephen had to bang on it for a bit. I did a bad job ripping it out of my other tree. http://sourceware.org/ml/gdb/2006-12/msg00067.html Anyway, could you see if the documented packets would suffice for you? I can try to bump up getting this ported to mainline. -- Daniel Jacobowitz CodeSourcery