This is the mail archive of the gdb-patches@sourceware.cygnus.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]

*-tdep.c #include "arch-utils.h"


Hello,

As I mentioned earlier I'm cleaning up gdbarch.[hc] moving much of the
generic code into arch-utils.[hc]. 

Something I'd forgotten to mention was that the *-tdep.c would need to
explicitly include arch-utils.h so that they could see the declaration
of the utility functions in arch-utils.c.  The alternative was to have
"defs.h" #include "arch-utils.h" when only the *-tdep.c files were
interested in that file.

Making sense?

	Andrew

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