This is the mail archive of the gdb-patches@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: [patch/multi-arch] Move TARGET_*_BIT to gdbarch.h


> Date: Thu, 10 Aug 2000 19:25:59 -0700
> From: Andrew Cagney <ac131313@cygnus.com>
> 
> The attatched patch moves the #ifdefs that provide default values for
> all the TARGET_*_BIT macros to gdbarch.{h,c,sh}.

I'm not sure I understand the implications of this for non-multi-arch
targets.  You've removed TARGET_*_BIT macros from defs.h, but will
gdbarch.h resurrect those definitions in an equivalent way?  If not,
various target-dependent files, such as i386-tdep.c and
config/i386/tm-i386.h, will begin losing some nifty features in
c-lang.c, c-exp_tab.c, valops.c, etc.

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