From: Daniel Jacobowitz <drow@false.org>
To: Mike Frysinger <vapier@gentoo.org>, Mike Frysinger <vapier@gmail.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [patch] early abort if child spawning failed
Date: Sat, 22 Sep 2007 03:58:00 -0000 [thread overview]
Message-ID: <20070922035842.GA10326@caradoc.them.org> (raw)
In-Reply-To: <200709212231.11507.vapier@gentoo.org>
On Fri, Sep 21, 2007 at 10:31:11PM -0400, Mike Frysinger wrote:
> if you use gdbserver to listen on a port and the specified program fails to
> launch properly, the server process will continue on to the accept() call and
> sit there forever ... you cant control+c the process as the signals are taken
> over which means you have to connect with gdb to force the server to re-check
> itself and then abort ... all in all, a pita for a simple typo.
>
> the attached patch checks the status field immediately after launch rather
> than falling down into the main loop and waiting for the remote debugger to
> connect for the status to get properly checked.
> -mike
Did you port this from an earlier version? It shouldn't be necessary
any more - Michael fixed this 2007-07-27.
--
Daniel Jacobowitz
CodeSourcery
next prev parent reply other threads:[~2007-09-22 3:58 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-22 2:31 Mike Frysinger
2007-09-22 3:58 ` Daniel Jacobowitz [this message]
2007-09-22 4:18 ` Mike Frysinger
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=20070922035842.GA10326@caradoc.them.org \
--to=drow@false.org \
--cc=gdb-patches@sourceware.org \
--cc=vapier@gentoo.org \
--cc=vapier@gmail.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