Don't include "target.h" from more headers than necessary. This
avoids needless interdependencies and duplicated include paths.
Don't needlessly include it in source files, either.
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
17 files changed:
#include "configuration.h"
#include "xsvf.h"
#include "svf.h"
-#include "target.h"
#include "nand.h"
#include "pld.h"
#include <stddef.h>
#include "types.h"
#include "flash.h"
-#include "target.h"
#include "membuf.h"
#include "at91sam3.h"
#include "time_support.h"
#ifndef LPC3180_NAND_CONTROLLER_H
#define LPC3180_NAND_CONTROLLER_H
-#include "target.h"
-
enum lpc3180_selected_controller
{
LPC3180_NO_CONTROLLER,
#endif
#include "mflash.h"
+#include "target.h"
#include "time_support.h"
#include "fileio.h"
#include "log.h"
#ifndef _MFLASH_H
#define _MFLASH_H
-#include "target.h"
+struct command_context;
typedef unsigned long mg_io_uint32;
typedef unsigned short mg_io_uint16;
#include "configuration.h"
#include "xsvf.h"
#include "svf.h"
-#include "target.h"
#include "nand.h"
#include "pld.h"
#include "mflash.h"
#include "config.h"
#endif
-#include "gdb_server.h"
#include "breakpoints.h"
#include "target_request.h"
#include "register.h"
#include "server.h"
#include "flash.h"
+#include "gdb_server.h"
#include "image.h"
#include "jtag.h"
#ifndef GDB_SERVER_H
#define GDB_SERVER_H
-#include "target.h"
-
struct image;
#define GDB_BUFFER_SIZE 16384
#ifndef ARM_ADI_V5_H
#define ARM_ADI_V5_H
-#include "target.h"
#include "arm_jtag.h"
#define DAP_IR_DPACC 0xA
#endif
#include "log.h"
+#include "target.h"
#include "armv4_5_mmu.h"
#define ARMV4_5_MMU_H
#include "armv4_5_cache.h"
-#include "target.h"
+
+struct target;
struct armv4_5_mmu_common
{
#include "armv7a.h"
#include "arm_disassembler.h"
-#include "target.h"
#include "register.h"
#include "binarybuffer.h"
#include "command.h"
#ifndef ARMV7A_H
#define ARMV7A_H
-#include "target.h"
#include "arm_adi_v5.h"
#include "armv4_5.h"
#include "armv4_5_mmu.h"
#endif
#include "breakpoints.h"
+#include "target.h"
#include "armv7m.h"
#include "algorithm.h"
#include "register.h"
#ifndef CORTEX_A8_H
#define CORTEX_A8_H
-#include "target.h"
#include "armv7a.h"
extern char* cortex_a8_state_strings[];
#include "config.h"
#endif
+#include "target.h"
#include "target_request.h"
#include "target_type.h"
#include "binarybuffer.h"
#ifndef TARGET_REQUEST_H
#define TARGET_REQUEST_H
-#include "target.h"
+struct target;
+struct command_context;
typedef enum target_req_cmd
{
Linking to existing account procedure
If you already have an account and want to add another login method
you
MUST first sign in with your existing account and
then change URL to read
https://review.openocd.org/login/?link
to get to this page again but this time it'll work for linking. Thank you.
SSH host keys fingerprints
1024 SHA256:YKx8b7u5ZWdcbp7/4AeXNaqElP49m6QrwfXaqQGJAOk gerrit-code-review@openocd.zylin.com (DSA)
384 SHA256:jHIbSQa4REvwCFG4cq5LBlBLxmxSqelQPem/EXIrxjk gerrit-code-review@openocd.org (ECDSA)
521 SHA256:UAOPYkU9Fjtcao0Ul/Rrlnj/OsQvt+pgdYSZ4jOYdgs gerrit-code-review@openocd.org (ECDSA)
256 SHA256:A13M5QlnozFOvTllybRZH6vm7iSt0XLxbA48yfc2yfY gerrit-code-review@openocd.org (ECDSA)
256 SHA256:spYMBqEYoAOtK7yZBrcwE8ZpYt6b68Cfh9yEVetvbXg gerrit-code-review@openocd.org (ED25519)
+--[ED25519 256]--+
|=.. |
|+o.. . |
|*.o . . |
|+B . . . |
|Bo. = o S |
|Oo.+ + = |
|oB=.* = . o |
| =+=.+ + E |
|. .=o . o |
+----[SHA256]-----+
2048 SHA256:0Onrb7/PHjpo6iVZ7xQX2riKN83FJ3KGU0TvI0TaFG4 gerrit-code-review@openocd.zylin.com (RSA)