Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Pedro Alves <pedro_alves@portugalmail.pt>
To: gdb-patches@sourceware.org
Subject: Re: PR/2386 [2/2]: MinGW attach to process without an exec file
Date: Sun, 30 Dec 2007 20:41:00 -0000	[thread overview]
Message-ID: <47780155.30304@portugalmail.pt> (raw)
In-Reply-To: <20071230025754.GA26252@ednor.casa.cgf.cx>

Christopher Faylor wrote:
> In many cases they are the same and, when they aren't, there should
> still be a /proc entry for the windows pid associated with the Cygwin
> process, which is what I was saying above.
> 

 > For exec'ed stubs you won't see the windows pid entry if you 'ls /proc'
 > but it is there if you query it.

Ah, OK.  That's surprising.  Nice.

> Rather than go back and forth on this, I've taken a stab at implementing
> what I'm trying to get across here.  I don't think there is any reason to
> now add Windows 9x support for features that have been missing for years
> so I didn't do that.  

I don't know if they were missing from the non FSF MinGW port of gdb,
but I won't go look either.
Sure.  What happened was that now if the exec file wasn't found,
gdb would not see the dlls, since now the target_so_ops are
associated with current_gdbarch.  That's what the PR is about.
Well, the 1/2 part of the patch also fixes that case, so it's OK.

> I'll check this in unless there are serious objections.
> 

No, not from me.  Thanks,

-- 
Pedro Alves


  parent reply	other threads:[~2007-12-30 20:37 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-28  1:35 Pedro Alves
2007-12-28  4:33 ` Christopher Faylor
2007-12-29  3:37   ` Pedro Alves
2007-12-29  3:50     ` Joel Brobecker
2007-12-29 11:47       ` Eli Zaretskii
2007-12-29 14:02         ` Lerele
2007-12-29  5:42     ` Joel Brobecker
2007-12-29 12:59       ` Pedro Alves
2007-12-29 14:35         ` Pedro Alves
2007-12-29 18:48         ` Christopher Faylor
2007-12-29 20:15           ` Eli Zaretskii
2007-12-29 22:46           ` Pedro Alves
2007-12-30  3:07             ` Christopher Faylor
2007-12-30  4:32               ` Eli Zaretskii
2007-12-30 20:37                 ` Christopher Faylor
2007-12-31  6:35                   ` Eli Zaretskii
2007-12-31  8:12                     ` Christopher Faylor
2007-12-31 21:38                       ` Eli Zaretskii
2007-12-30 20:41               ` Pedro Alves [this message]
2007-12-30  4:20             ` Eli Zaretskii
2007-12-31  4:13               ` Pedro Alves
2007-12-29 11:41     ` Eli Zaretskii
2007-12-29 11:33 ` Eli Zaretskii
2007-12-29 14:33   ` Pedro Alves
2007-12-29 16:08     ` Eli Zaretskii
2007-12-30  0:30       ` 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=47780155.30304@portugalmail.pt \
    --to=pedro_alves@portugalmail.pt \
    --cc=gdb-patches@sourceware.org \
    /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