This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [patch/multi-arch] Move TARGET_*_BIT to gdbarch.h
- To: ac131313 at cygnus dot com
- Subject: Re: [patch/multi-arch] Move TARGET_*_BIT to gdbarch.h
- From: Eli Zaretskii <eliz at delorie dot com>
- Date: Sat, 12 Aug 2000 06:15:47 -0400 (EDT)
- CC: gdb-patches at sourceware dot cygnus dot com
- References: <39936437.9662259@cygnus.com>
- Reply-to: Eli Zaretskii <eliz at is dot elta dot co dot il>
> 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.