linux-um archives
 help / color / mirror / Atom feed
From: Jeff Dike <jdike@addtoit.com>
To: Daniel Jacobowitz <dan@debian.org>
Cc: 271069-submitter@bugs.debian.org, 271069@bugs.debian.org,
	user-mode-linux-devel@lists.sourceforge.net
Subject: Re: [uml-devel] Debian bug 271069, gdb startup fails
Date: Wed, 17 Nov 2004 21:43:42 -0500	[thread overview]
Message-ID: <200411180243.iAI2hgQ3006959@ccure.user-mode-linux.org> (raw)
In-Reply-To: Your message of "Sat, 13 Nov 2004 16:14:44 EST." <20041113211443.GA27963@nevyn.them.org>

dan@debian.org said:
> - GDB forks
> - the child issues TRACEME
> - GDB waits for it, successfully now that EINTR is handled
> - GDB issues PTRACE_SETOPTIONS (returns -EINVAL because the proxy
>   does not support it)
> - GDB decides that the feature isn't available (good so far; it isn't)
> - GDB tries to clean up.  It sends PTRACE_KILL to the child it forked.
> - GDB waits for the child to exit.  Which it never does.

From your description above (I haven't seen this personally), there are a
couple of things I don't understand.

First, I don't see how a PTRACE_KILL can be going to the wrong process.  I see
only one child under ptrace.

Second, it would seem that, even if this was successful, the end result is
'./linux debug' just dropping you back to a shell prompt.  This may be better
than the current hang, but it's not the desired result.

				Jeff



-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

  parent reply	other threads:[~2004-11-18  0:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-13 21:14 [uml-devel] Debian bug 271069, gdb startup fails Daniel Jacobowitz
2004-11-13 21:52 ` [uml-devel] " Daniel Jacobowitz
2004-11-18  2:43 ` Jeff Dike [this message]
2004-11-18  0:47   ` [uml-devel] " Daniel Jacobowitz
2004-11-18  4:53     ` Jeff Dike

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=200411180243.iAI2hgQ3006959@ccure.user-mode-linux.org \
    --to=jdike@addtoit.com \
    --cc=271069-submitter@bugs.debian.org \
    --cc=271069@bugs.debian.org \
    --cc=dan@debian.org \
    --cc=user-mode-linux-devel@lists.sourceforge.net \
    /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