Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Joel Brobecker <brobecker@adacore.com>
To: gdb@sourceware.org
Subject: Re: gnulib dependency in gdbserver
Date: Wed, 25 Jun 2008 23:09:00 -0000	[thread overview]
Message-ID: <20080625230842.GI7272@adacore.com> (raw)
In-Reply-To: <20080625221538.GH7272@adacore.com>

> I thought so because memmem.c uses SIZE_MAX. However, I now realized
> that I greped in the wrong directory, and now that I grep again in
> the right one, the system stdint.h does seem to provide this macro.
> So it looks like an issue with the way I setup the build or maybe
> the compiler (we've had some issues of this sort a while ago).
> Let me dig in a little more.

Problem solved - the macro definitions are protected by "#if defined
(__STDC_LIMIT_MACROS)", which is not defined by default. Defining
this macro allowed me to build memmem.c, and after fixing another
issue related to init_registers () being "multi-arched", I finally
got an executable.

For my penance, if you think that we could document the contents
of our discussion somewhere, just let me know, and I'll be happy
to do that as my way of thanks. Perhaps in the README file? This
file contains instructions, though, so I'm a little hesitant to
dilute its contents with information that may not be relevant
to the user that just wants to be gdbserver...

-- 
Joel


  reply	other threads:[~2008-06-25 23:09 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-25 19:16 Joel Brobecker
2008-06-25 19:23 ` Daniel Jacobowitz
2008-06-25 21:14   ` Joel Brobecker
2008-06-25 21:58     ` Daniel Jacobowitz
2008-06-25 22:15       ` Joel Brobecker
2008-06-25 23:09         ` Joel Brobecker [this message]
2008-06-26  2:09           ` Daniel Jacobowitz

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=20080625230842.GI7272@adacore.com \
    --to=brobecker@adacore.com \
    --cc=gdb@sourceware.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