Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@false.org>
To: Pedro Alves <pedro_alves@portugalmail.pt>
Cc: gdb@sourceware.org
Subject: Re: Win32 gdbserver dll support.
Date: Thu, 26 Apr 2007 22:44:00 -0000	[thread overview]
Message-ID: <20070426224438.GA14312@caradoc.them.org> (raw)
In-Reply-To: <4631274C.5080603@portugalmail.pt>

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


  reply	other threads:[~2007-04-26 22:44 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-26 16:41 Pedro Alves
2007-04-26 22:27 ` Pedro Alves
2007-04-26 22:44   ` Daniel Jacobowitz [this message]
2007-04-26 23:34     ` Pedro Alves
2007-04-30  2:45       ` Daniel Jacobowitz
2007-05-03 15:37         ` Daniel Jacobowitz
2007-05-03 16:11           ` Pedro Alves
2007-05-03 20:08             ` Daniel Jacobowitz
2007-05-03 21:44               ` Pedro Alves

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070426224438.GA14312@caradoc.them.org \
    --to=drow@false.org \
    --cc=gdb@sourceware.org \
    --cc=pedro_alves@portugalmail.pt \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox