Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Joel Brobecker <brobecker@adacore.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: pedro_alves@portugalmail.pt, uweigand@de.ibm.com,
		gdb-patches@sourceware.org
Subject: Re: Support of gdb for Windows 64 native systems
Date: Fri, 19 Oct 2007 11:48:00 -0000	[thread overview]
Message-ID: <20071019041950.GB6180@adacore.com> (raw)
In-Reply-To: <ud4vci4m2.fsf@gnu.org>

> Thanks, I will certainly try to help you, even if I cannot claim to
> "know Windows well".

You certainly qualify in my opinion, but if you really insist in using
accurate semantics, I'll rephrase and say "knows Windows better than
I do" ;-).

> One idea, which I implemented for the DJGPP port years ago, is here:
> 
>     http://www.delorie.com/bin/cvsweb.cgi/djgpp/src/debug/common/dbgredir.c?rev=1.3
> 
> You can see how these routines are used in go32-nat.c.  Note that some
> of the stuff in dbgredir.c is not needed for the Windows port: those
> are redir_to_child and redir_to_debugger, with all their subroutines.
> (The DJGPP port uses them because there GDB and the inferior run in
> the same process, so they share the file handles.)

Wow, it's the first time that I see the debugger and the inferior
share the same process. I know of a Windows application that embeds
its own debug stub to allow certain threads to remain active when
the rest of the inferior is stopped, though...

> For Windows, I guess passing the redirected handles through the
> STARTUPINFO structure of the CreateProcess call, as suggested by
> Pedro, would be more than adequate.

OK - Thanks for the advice. I'm hoping to find some time in the next
few weeks, hopefully before christmas. Hopefully we can give ourselves
a nice unexpected present :). (I didn't expect MinGW support to go in
so fast - kudos to Pedro and thanks to Chris and yourself).

-- 
Joel


  reply	other threads:[~2007-10-19  4:19 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <uprzkkrf7.fsf@gnu.org>
     [not found] ` <20071012222842.GD21800@adacore.com>
     [not found]   ` <20071013024116.GB29152@adacore.com>
     [not found]     ` <uk5prl27s.fsf@gnu.org>
     [not found]       ` <20071013154715.GE29152@adacore.com>
     [not found]         ` <4711021C.8010805@portugalmail.pt>
     [not found]           ` <20071013205105.GA13789@adacore.com>
     [not found]             ` <47114BB7.1000501@portugalmail.pt>
     [not found]               ` <20071014051622.GC13789@adacore.com>
     [not found]                 ` <471200C5.6050609@portugalmail.pt>
2007-10-14 18:03                   ` Christopher Faylor
2007-10-14 19:55                     ` Pedro Alves
2007-10-14 22:22                       ` Christopher Faylor
2007-10-14 23:14                         ` Daniel Jacobowitz
2007-10-15 18:54                           ` Christopher Faylor
2007-10-15 19:19                             ` Daniel Jacobowitz
2007-10-16  0:18                               ` Pedro Alves
2007-10-16  4:21                                 ` Eli Zaretskii
2007-10-16  6:40                                   ` Christopher Faylor
2007-10-16 11:57                                     ` Pedro Alves
2007-10-16 12:41                                       ` Eli Zaretskii
2007-10-16 14:35                                       ` Christopher Faylor
2007-10-16 14:41                                         ` Pedro Alves
2007-10-16 15:56                                           ` Daniel Jacobowitz
2007-10-16 16:13                                             ` Christopher Faylor
2007-10-16 16:16                                               ` Eli Zaretskii
2007-10-16 18:23                                                 ` Joel Brobecker
2007-10-16 18:57                                                   ` Ulrich Weigand
2007-10-17 19:47                                                     ` Pedro Alves
2007-10-17 22:00                                                       ` Joel Brobecker
2007-10-18  4:06                                                         ` Pedro Alves
2007-10-18  4:16                                                           ` Eli Zaretskii
2007-10-18 10:07                                                             ` Joel Brobecker
2007-10-18 20:20                                                               ` Eli Zaretskii
2007-10-19 11:48                                                                 ` Joel Brobecker [this message]
2007-10-19 12:09                                                                   ` Daniel Jacobowitz
2007-10-19 12:27                                                                     ` Eli Zaretskii
2007-10-16 20:29                                             ` Pedro Alves
2007-10-14 23:29                         ` Pedro Alves
2007-10-15 18:45                           ` Christopher Faylor
2007-10-15 23:32                             ` Pedro Alves
2007-10-14 21:16                   ` Joel Brobecker
2007-10-14 22:22                     ` Christopher Faylor
2007-10-15  8:58                       ` Pedro Alves
2007-10-15 18:39                         ` Christopher Faylor

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=20071019041950.GB6180@adacore.com \
    --to=brobecker@adacore.com \
    --cc=eliz@gnu.org \
    --cc=gdb-patches@sourceware.org \
    --cc=pedro_alves@portugalmail.pt \
    --cc=uweigand@de.ibm.com \
    /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