This is the mail archive of the gdb-patches@sourceware.cygnus.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Stabs reading on Alpha (Linux)



   From: Jim Blandy <jimb@cygnus.com>
   Date: 24 Jun 1999 21:26:51 -0500

   > The following patch whacks about 20 testsuite files on Alpha; if you like
   > it, I'll check in.  Although the 0xffffffff might confuse a 32-bit machine,
   > I believe that the code could never get here on a 32-bit host (it goes
   > through the n2bits,n3bits path instead).

   We can't continue this approach when we get our first machine with
   64-bit longs and 128-bit long longs, because we can't write out the
   64-bit constant --- 32-bit compilers will (or should) choke on it.  :)

   Could you give this a try?  Or does it seem too baroque?

Clever!  It does seem a bit overengineered to me, since if the 128-bit
case ever arose (which is unlikely BTW), you could write a
special-purpose test that compares 32-bit constants with each half of
the 64-bit value.  But, it's your decision either way.

								Stan


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]