This is the mail archive of the gdb-patches@sourceware.org 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]
Other format: [Raw text]

Re: [patch] sim/erc32/ max simulation time extended by using 64bit ints


> > Unfortunately, this change breaks the build when stdint.h is not
> > available (Eg. sparc-solaris).
> 
> How old is this solaris?

It's solaris 2.8.

> > Doug: Would that be OK to commit? I think that the cleanest thing to do
> > ? ? ?here would be to have some configury that would provide our own
> > ? ? ?stdint.h when missing. ?We already do that for GDB by using gnulib
> > ? ? ?so perhaps one way to do so would be to share the gnulib between
> > ? ? ?GDB and the sim (probably meaning moving it to the root directory).
> 
> For reference sake, there's bfd_stdint.h generated by
> config/stdint.m4.  I don't know all that it handles, but again gdb
> itself just includes stdint.h unconditionally.

This is because GDB relies on gnulib providing stdint.h for us if
the system doesn't already provide it.  See gdb/gnulib/.

-- 
Joel


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