Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Mike Frysinger <vapier@gentoo.org>
To: tromey@redhat.com
Cc: gdb-patches@sourceware.org
Subject: Re: [PATCH v2] sim: use socklen_t with accept()
Date: Tue, 30 Mar 2010 22:39:00 -0000	[thread overview]
Message-ID: <201003301839.19240.vapier@gentoo.org> (raw)
In-Reply-To: <m3fx3hsb5o.fsf@fleche.redhat.com>

[-- Attachment #1: Type: Text/Plain, Size: 1282 bytes --]

On Tuesday 30 March 2010 18:21:55 Tom Tromey wrote:
> >>>>> "Mike" == Mike Frysinger <vapier@gentoo.org> writes:
> Mike> 2010-03-30  Mike Frysinger  <vapier@gentoo.org>
> Mike> 	* configure.ac: Check for socklen_t.
> Mike> 	* configure, config.in: Regenerated.
> Mike> 	* dv-sockser.c (connected_p): Change addrlen type to socklen_t.
> 
> Somewhere, probably dv-sockser.c, you also need this bit:
> 
> #ifndef HAVE_SOCKLEN_T
> typedef int socklen_t;
> #endif

i would have thought the configure code people were using would take care of 
this, but oh well.

> Mike> Note: this config.in diffstat is larger because the regen tweaked the
> Mike>       comment style for a lot of defines ... not sure if this is
> correct
> 
> Make sure you use the exact same versions of the autotools as currently
> used in the tree.  I download the canonical versions from gnu.org and
> install them all in a fresh $prefix for gdb hacking.  You can't use
> different versions (even minor versions) or distro variants, as they
> cause churn in the repository.

right, trying to do otherwise gave me an error about wanting exactly 2.64.  so 
i installed that version but still saw the churn.  i'll include the changes in 
the next patch so you can see what i mean.
-mike

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

  reply	other threads:[~2010-03-30 22:39 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-29 19:38 [PATCH] " Mike Frysinger
2010-03-30 16:11 ` Tom Tromey
2010-03-30 18:42   ` Andreas Schwab
2010-03-30 22:08     ` [PATCH v2] " Mike Frysinger
2010-03-30 22:22       ` Tom Tromey
2010-03-30 22:39         ` Mike Frysinger [this message]
2010-03-30 23:03           ` Tom Tromey
2010-03-30 22:39         ` [PATCH v3] " Mike Frysinger
2010-03-30 23:04           ` Tom Tromey

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=201003301839.19240.vapier@gentoo.org \
    --to=vapier@gentoo.org \
    --cc=gdb-patches@sourceware.org \
    --cc=tromey@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