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: [PATCH]: shared libs on 32/64 bit systems.


   Date: Mon, 5 Jun 2000 17:31:46 -0700 (PDT)
   From: msnyder@cygnus.com

   Specifically Sparc Solaris.  Jim Blandy, are you online?
   Or do I need to find an alternate maintainer to review it?

[snip]

   + #if defined (__sparcv9)
   + #define _SYSCALL32	/* for Sparc64 cross Sparc32 */
   + #endif

Can this be moved to the appropriate sparc-specific header? The file
is used by other systems besides Sparc too and it would be nice if we
don't ``pollute'' it with too many system specific defines.

Are you sure using a processor-specific define is the right approach?
What'll happen when Sun brings us __sparcv10?  Shouldn't you be using
a #define based on the canonical target/host as detected by autoconf,
or given by the user?

Mark


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