This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [commit] Support 64-bit constants/enums on 32-bit host [Re: [PATCH] Allow 64-bit enum values]
- From: Tom Tromey <tromey at redhat dot com>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Cc: Siddhesh Poyarekar <siddhesh at redhat dot com>, gdb-patches at sourceware dot org
- Date: Tue, 17 Apr 2012 13:31:39 -0600
- Subject: Re: [commit] Support 64-bit constants/enums on 32-bit host [Re: [PATCH] Allow 64-bit enum values]
- References: <20120220132724.GB4753@spoyarek.pnq.redhat.com> <87d397syts.fsf@fleche.redhat.com> <20120229135148.GA32128@spoyarek.pnq.redhat.com> <20120301224428.GA30631@host2.jankratochvil.net> <20120305063542.GA30196@spoyarek.pnq.redhat.com> <20120305080512.GA12311@host2.jankratochvil.net> <20120321100630.GA14496@spoyarek.pnq.redhat.com> <20120417130833.GB15356@host2.jankratochvil.net> <878vhuwhrd.fsf@fleche.redhat.com> <20120417190903.GA7437@host2.jankratochvil.net>
>>>>> "Jan" == Jan Kratochvil <jan.kratochvil@redhat.com> writes:
Jan> While I would never have that idea myself I can also do:
Jan> #ifdef BFD64
Jan> LONGEST ivalue;
Jan> #else
Jan> long ivalue;
Jan> #endif
Jan> It always keeps the memory footprint and makes 64-bit constants working on
Jan> 32-bit gdb --enable-64-bit-bfd builds.
I think on the whole I'd prefer your original patch over this.
I tend to agree that these builds are not very common any more.
If anyone reading this objects, let us know; we can always back it out
or whatever.
Tom