This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
*-tdep.c #include "arch-utils.h"
- To: GDB Patches <gdb-patches at sourceware dot cygnus dot com>
- Subject: *-tdep.c #include "arch-utils.h"
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Wed, 26 Apr 2000 15:09:38 +1000
- Organization: Cygnus Solutions
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