From: Daniel Jacobowitz <drow@false.org>
To: Mark Kettenis <mark.kettenis@xs4all.nl>
Cc: pgilliam@us.ibm.com, gdb-patches@sources.redhat.com
Subject: Re: [patch] Can't build ppc32 GDB
Date: Fri, 05 May 2006 16:30:00 -0000 [thread overview]
Message-ID: <20060505162955.GB31029@nevyn.them.org> (raw)
In-Reply-To: <25493.192.87.1.22.1146726734.squirrel@webmail.xs4all.nl>
On Thu, May 04, 2006 at 09:12:14AM +0200, Mark Kettenis wrote:
> This is where the new ISO C99 <stdint.h> types come in handy. Instead of
> casting to CORE_ADDR, try casting to uintptr_t.
Can we rely on <stdint.h> on GNU/Linux? I know we can't in general.
Conveniently, I have a patch on one of my pending branches that
provides a gdb_stdint.h.
But for this case there's an easier solution, which IIRC is roughly
what Paul did: I can pretty much promise you that sizeof (long) ==
sizeof (void *) on any GNU/Linux system. So either I can merge
gdb_stdint.h and we can start using that, which might be a nice idea in
general, or for now I think "long" is fine.
--
Daniel Jacobowitz
CodeSourcery
next prev parent reply other threads:[~2006-05-05 16:30 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-25 0:18 PAUL GILLIAM
2006-04-25 0:22 ` PAUL GILLIAM
2006-04-25 19:38 ` Mark Kettenis
2006-05-03 23:32 ` PAUL GILLIAM
2006-05-04 7:12 ` Mark Kettenis
2006-05-05 16:30 ` Daniel Jacobowitz [this message]
2006-05-05 16:50 ` Mark Kettenis
2006-05-05 18:31 ` PAUL GILLIAM
2006-05-05 19:55 ` Mark Kettenis
2006-05-05 20:18 ` PAUL GILLIAM
2006-05-05 20:21 ` PAUL GILLIAM
2006-05-05 20:29 ` Mark Kettenis
2006-05-05 20:47 ` PAUL GILLIAM
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=20060505162955.GB31029@nevyn.them.org \
--to=drow@false.org \
--cc=gdb-patches@sources.redhat.com \
--cc=mark.kettenis@xs4all.nl \
--cc=pgilliam@us.ibm.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