Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Tom Tromey <tromey@redhat.com>
To: Mike Frysinger <vapier@gentoo.org>
Cc: gdb-patches@sourceware.org
Subject: Re: [PATCH v2] sim: use socklen_t with accept()
Date: Tue, 30 Mar 2010 22:22:00 -0000	[thread overview]
Message-ID: <m3fx3hsb5o.fsf@fleche.redhat.com> (raw)
In-Reply-To: <1269986875-1519-1-git-send-email-vapier@gentoo.org> (Mike 	Frysinger's message of "Tue, 30 Mar 2010 18:07:55 -0400")

>>>>> "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

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.

Tom


  reply	other threads:[~2010-03-30 22:22 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 [this message]
2010-03-30 22:39         ` [PATCH v3] " Mike Frysinger
2010-03-30 23:04           ` Tom Tromey
2010-03-30 22:39         ` [PATCH v2] " Mike Frysinger
2010-03-30 23:03           ` 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=m3fx3hsb5o.fsf@fleche.redhat.com \
    --to=tromey@redhat.com \
    --cc=gdb-patches@sourceware.org \
    --cc=vapier@gentoo.org \
    /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