Commit aa7c4496 authored by David Brownell's avatar David Brownell
Browse files

target: don't implicitly include "breakpoint.h"



Most files in the tree seem to have ended up including this,
and *quite* needlessly ... only code implementing or using
breakpoints actually needs these declarations.

So take it out of the header files which included it, and put
it in files which use it ... reduce needless interdependencies.
Signed-off-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
parent 5d1a9033
......@@ -28,6 +28,7 @@
#endif
#include "gdb_server.h"
#include "breakpoints.h"
#include "target_request.h"
#include "register.h"
#include "server.h"
......
......@@ -27,6 +27,7 @@
#endif
#include "arm11.h"
#include "breakpoints.h"
#include "arm11_dbgtap.h"
#include "armv4_5.h"
#include "arm_simulator.h"
......
......@@ -30,6 +30,7 @@
#include "config.h"
#endif
#include "breakpoints.h"
#include "embeddedice.h"
#include "target_request.h"
#include "arm7_9_common.h"
......
......@@ -29,7 +29,6 @@
#ifndef ARM7_9_COMMON_H
#define ARM7_9_COMMON_H
#include "breakpoints.h"
#include "armv4_5.h"
#define ARM7_9_COMMON_MAGIC 0x0a790a79 /**< */
......
......@@ -28,6 +28,7 @@
#endif
#include "armv4_5.h"
#include "breakpoints.h"
#include "arm_disassembler.h"
#include "binarybuffer.h"
......
......@@ -34,6 +34,7 @@
#include "config.h"
#endif
#include "breakpoints.h"
#include "armv7m.h"
#define ARRAY_SIZE(x) ((int)(sizeof(x)/sizeof((x)[0])))
......
......@@ -33,6 +33,7 @@
#include "config.h"
#endif
#include "breakpoints.h"
#include "cortex_a8.h"
#include "armv7a.h"
#include "armv4_5.h"
......
......@@ -31,6 +31,7 @@
#include "config.h"
#endif
#include "breakpoints.h"
#include "cortex_m3.h"
#include "target_request.h"
#include "target_type.h"
......
......@@ -23,6 +23,7 @@
#include "config.h"
#endif
#include "breakpoints.h"
#include "mips32.h"
#include "mips_m4k.h"
#include "mips32_dmaacc.h"
......
......@@ -36,6 +36,7 @@
#include "target.h"
#include "target_type.h"
#include "target_request.h"
#include "breakpoints.h"
#include "time_support.h"
#include "register.h"
#include "trace.h"
......
......@@ -28,13 +28,14 @@
#include <stddef.h>
#include "breakpoints.h"
#include "algorithm.h"
#include "command.h"
struct reg;
struct trace;
struct command_context;
struct breakpoint;
struct watchpoint;
/**
......
......@@ -27,6 +27,7 @@
#include "config.h"
#endif
#include "breakpoints.h"
#include "xscale.h"
#include "target_type.h"
#include "arm7_9_common.h"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment