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: [rfc] [0/9] Multi-target support


Pierre Muller wrote:

>   Is the CORE_ADDR size changed according to the target of the current tdep
> file?

CORE_ADDR is defined as bfd_vma, and the latter is supposed to be chosen
according to the selected targets (see the generated bfd/bfd.h file):

/* The word size used by BFD on the host.  This may be 64 with a 32
   bit target if the host is 64 bit, or if other 64 bit targets have
   been selected with --enable-targets, or if --enable-64-bit-bfd.  */
#define BFD_ARCH_SIZE 64

Not sure why this didn't work for you ...  Did you start from a clean
build directory?   Could you try whether at least explicitly specifying
--enable-64-bit-bfd works?

Bye,
Ulrich

-- 
  Dr. Ulrich Weigand
  GNU Toolchain for Linux on System z and Cell BE
  Ulrich.Weigand@de.ibm.com


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