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: More record.c build failures



On Oct 23, 2009, at 11:46 AM, Pierre Muller wrote:


record.c is bound to give problems
on all targets that do not compile gcore.c
source.

 gcore.o  is a optional object that
is only added to the list of compiled
object in the config directory.

 Thus it is not possible to
use this without some configure test...

For the record (:-), record.c doesn't compile on Darwin because <byteswap.h> doesn't exists (nor
bswap_xx).


For these, maybe you could use bfd_getb64, bfd_getb32 and bfd_getb16 ?

Tristan.


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