From: Christopher Faylor <cgf@redhat.com>
To: gdb-patches <gdb-patches@sources.redhat.com>
Subject: Re: [RFA] win32-nat.c: Real detaching from processes under Windows XP
Date: Thu, 25 Oct 2001 12:07:00 -0000 [thread overview]
Message-ID: <20011025150852.N28568@redhat.com> (raw)
In-Reply-To: <20011025143344.A1574@cygbert.vinschen.de>
On Thu, Oct 25, 2001 at 02:33:44PM +0200, Corinna Vinschen wrote:
>Hi,
>
>Windows XP introduces an exciting new feature to the Windows debugger
>world. Under XP a native debugger actually can _detach_ from processes.
>
>I added that feature to win32-nat.c so that the needed functions
>are loaded dynamically. If that fails, gdb assumes that we are not
>running under XP and behaves as before. Otherwise it will now behave
>as any other system allowing detaching from processes.
>
>It works fine except for a special case:
>
>If GDB has started the process by itself (in contrast to attaching
>to a running process) the detaching might crash the inferior process
>when the user has just stepped into a function or gdb just stopped on
>a breakpoint right at the functions entry point. If at that point
>the user steps further one or two steps, everything's fine but if the
>user detaches at that point, the inferior suffers from a SEGV due
>to an apparently corrupted stack.
Looks great, Corinna. I'd like to track down this problem eventually,
though. This would be wonderful functionality to have, though, so lets
get it in the trunk.
I don't think its appropriate for the 5.1 branch given the above
problem.
cgf
prev parent reply other threads:[~2001-10-25 12:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-10-25 5:50 Corinna Vinschen
2001-10-25 12:07 ` Christopher Faylor [this message]
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=20011025150852.N28568@redhat.com \
--to=cgf@redhat.com \
--cc=gdb-patches@sources.redhat.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