From: Michael Snyder <msnyder@redhat.com>
To: Mark Kettenis <mark.kettenis@xs4all.nl>
Cc: gdb-patches@sources.redhat.com, drow@false.org,
Eli Zaretskii <eliz@is.elta.co.il>
Subject: Re: [RFA] Linux Checkpoints, take 3
Date: Wed, 04 Jan 2006 01:49:00 -0000 [thread overview]
Message-ID: <43BB297C.5040902@redhat.com> (raw)
In-Reply-To: <200512261533.jBQFXCwt001363@elgar.sibelius.xs4all.nl>
Anybody object if I consider this approved, once the issues below
are taken care of?
Mark Kettenis wrote:
> Anyway, a few problems that I spotted:
>
> 1. Please drop the "extern" from _initialize_linux_fork() (and the
> associated comment). You'll need an explicit prototype again, like:
>
> /* Prevent warning from -Wmissing-prototypes. */
> void _initialize_linux_fork (void);
>
> 2. Please update the copyright notice to use (C) and the new FSF
> address.
>
> 3. Replace the FORKS_EXISTS() macro with a forks_exists_p() function?
> Or inline it if you don't think it's ever going to be changed.
>
> 4. Aren't the values used for SEEK_SET/SEEK_CUR the same on all Linux
> ports? In that case perhaps #defining LINUX_SEEK_SET 0, and using
> LINUX_SEEK_SET would be a good solution.
>
> 5. Could you seperate out the "Detaching after fork from child
> process" printing?
>
> And from the nitpicking department:
>
> 1. The comments on the #includes are a bit silly. I'd rather not see
> any unless there's something really unobvious going on. They get
> out of data pretty soon anyway.
>
> 2. Please don't put the function name in comments above the function.
> (call_lseek, linux_fork_killall, linux_fork_mourn_inferior,
>
> 3. Really sorry to hear that you're suffering from a split personality
> problem:
>
>
>>2005-12-19 Michael Snyder <msnyder@redhat.com>
>>
>>2005-12-19 Michael Van Meter Snyder <michsnyd@clwang-lnx.cisco.com>
>>
>
> Otherwise, I think it's ok. It's a bit sad that this is a Linux-only
> implementation, but then it's mostly Linux-specific code. I'll see if
> I can rig up something for OpenBSD, and then we can sort out what bits
> are target-independent.
>
> Mark
>
prev parent reply other threads:[~2006-01-04 1:49 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-24 16:32 Michael Snyder
2005-12-24 17:02 ` Eli Zaretskii
2005-12-26 18:58 ` Daniel Jacobowitz
2005-12-26 19:27 ` Eli Zaretskii
2005-12-27 15:38 ` Mark Kettenis
2005-12-27 15:40 ` Eli Zaretskii
2006-01-03 23:54 ` Michael Snyder
2006-01-04 19:16 ` Mark Kettenis
2006-01-04 19:36 ` Michael Snyder
2006-01-04 1:49 ` Michael Snyder [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=43BB297C.5040902@redhat.com \
--to=msnyder@redhat.com \
--cc=drow@false.org \
--cc=eliz@is.elta.co.il \
--cc=gdb-patches@sources.redhat.com \
--cc=mark.kettenis@xs4all.nl \
/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