Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Mark Kettenis <mark.kettenis@xs4all.nl>
To: mark@codesourcery.com
Cc: gdb-patches@sources.redhat.com
Subject: Re: PATCH: Fix LP64 model bug in PPC simulator
Date: Tue, 24 Jan 2006 19:27:00 -0000	[thread overview]
Message-ID: <200601241925.k0OJPwwt002920@elgar.sibelius.xs4all.nl> (raw)
In-Reply-To: <200601240555.k0O5tGmu007234@sethra.codesourcery.com> (message 	from Mark Mitchell on Mon, 23 Jan 2006 21:55:16 -0800)

> Date: Mon, 23 Jan 2006 21:55:16 -0800
> From: Mark Mitchell <mark@codesourcery.com>
> 
> The PowerPC simulator didn't work on a little-endian LP64 platform
> (like x86_64-unknown-linux-gnu).  The problem turned out to be that
> ppc/sim/words.h is defining {un,}signed32 unconditionally as "long" --
> but then depending on that being 32 bits.  Fixed with a bit of
> autoconfiscation.  Tested by verifying that I can now run a simple
> PowerPC binary in simulation on x86_64-unknown-linux-gnu.
> 
> OK?

Any reason not to just use 'int'?  I'm pretty sure our code base makes
that assumption in a lot of places.

Mark


  reply	other threads:[~2006-01-24 19:27 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-24  5:55 Mark Mitchell
2006-01-24 19:27 ` Mark Kettenis [this message]
2006-01-24 19:52   ` Mark Mitchell
2006-01-24 21:09     ` Daniel Jacobowitz
2006-01-24 21:45       ` Mark Kettenis
2006-01-24 23:49       ` Mark Mitchell
     [not found]         ` <5981.192.87.1.22.1138179926.squirrel@webmail.xs4all.nl>
2006-01-25 17:32           ` Mark Mitchell
2006-01-25 23:08             ` Mark Kettenis

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=200601241925.k0OJPwwt002920@elgar.sibelius.xs4all.nl \
    --to=mark.kettenis@xs4all.nl \
    --cc=gdb-patches@sources.redhat.com \
    --cc=mark@codesourcery.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