From: Mike Stump <mikestump@comcast.net>
To: Mike Frysinger <vapier@gentoo.org>
Cc: gdb-patches@sourceware.org
Subject: Re: remote-sim.h
Date: Tue, 01 Nov 2011 05:38:00 -0000 [thread overview]
Message-ID: <593EB847-F177-4D84-8DB3-30064C53907E@comcast.net> (raw)
In-Reply-To: <201110312354.53063.vapier@gentoo.org>
On Oct 31, 2011, at 8:54 PM, Mike Frysinger wrote:
>> +#if BFD_ARCH_SIZE <= 32
>> typedef unsigned int SIM_ADDR;
>> #else
>> +typedef unsigned long SIM_ADDR;
>> +#endif
>> +#else
>> typedef CORE_ADDR_TYPE SIM_ADDR;
>> #endif
>
> i'm guessing you're creating a 64bit simulator. this setup won't work when
> building on a 32bit system as unsigned long will still be 32bit. i wonder if
> bfd_vma would be appropriate as a default instead, but i'm not sure of the
> exact purpose of that type ...
Indeed, bfd_vma would work just fine for me. (I only have 64-bit pointers, and only have one target).
next prev parent reply other threads:[~2011-11-01 5:38 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-31 23:24 remote-sim.h Mike Stump
2011-11-01 3:55 ` remote-sim.h Mike Frysinger
2011-11-01 5:38 ` Mike Stump [this message]
2011-11-01 18:55 ` remote-sim.h Tom Tromey
2011-11-01 19:50 ` remote-sim.h Mike Stump
2011-11-02 17:02 ` remote-sim.h Tom Tromey
2011-11-06 17:35 ` remote-sim.h Mike Frysinger
2011-11-06 18:31 ` remote-sim.h Mike Stump
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=593EB847-F177-4D84-8DB3-30064C53907E@comcast.net \
--to=mikestump@comcast.net \
--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