This is the mail archive of the gdb@sources.redhat.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: GDB 5.0.92 available


On Tue, Oct 30, 2001 at 11:35:05PM -0500, Andrew Cagney wrote:
> GDB 9.0.92 is available for download.  See:
> 
>   ftp://sources.redhat.com/pub/gdb/snapshots/

config/mh-papic has:
  PICFLAG=-fPIC

This is fine if you're building with GCC. On HP-UX though, the -fPIC
equivalent is +Z. config/mh-sparcpic has:
  PICFLAG=`case '${LIBCFLAGS} ${LIBCXXFLAGS}' in *-fpic* ) \
  echo -fpic ;; * ) echo -fPIC ;; esac`

Ditto for config/mt-papic.

Should we do something like:
  PICFLAG=`case '${CC}' in cc) echo +Z ;; *) echo -fPIC ;; esac`

Also, libiberty/regex.c has:
/* Integer type for pointers.  */
# if !defined _LIBC
typedef unsigned long int uintptr_t;
# endif

This conflicts with <sys/_inttypes.h> on HP-UX 10.20 and 11.00 where:
typedef unsigned long uintptr_t;

Should we just rename the typedef?

-- 
albert chin (china@thewrittenword.com)


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