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: David Brownell <dbrownell@users.sourceforge.net>
12 files changed:
#endif
#include "gdb_server.h"
#endif
#include "gdb_server.h"
+#include "breakpoints.h"
#include "target_request.h"
#include "register.h"
#include "server.h"
#include "target_request.h"
#include "register.h"
#include "server.h"
#endif
#include "arm11.h"
#endif
#include "arm11.h"
+#include "breakpoints.h"
#include "arm11_dbgtap.h"
#include "armv4_5.h"
#include "arm_simulator.h"
#include "arm11_dbgtap.h"
#include "armv4_5.h"
#include "arm_simulator.h"
#include "config.h"
#endif
#include "config.h"
#endif
+#include "breakpoints.h"
#include "embeddedice.h"
#include "target_request.h"
#include "arm7_9_common.h"
#include "embeddedice.h"
#include "target_request.h"
#include "arm7_9_common.h"
#ifndef ARM7_9_COMMON_H
#define ARM7_9_COMMON_H
#ifndef ARM7_9_COMMON_H
#define ARM7_9_COMMON_H
-#include "breakpoints.h"
#include "armv4_5.h"
#define ARM7_9_COMMON_MAGIC 0x0a790a79 /**< */
#include "armv4_5.h"
#define ARM7_9_COMMON_MAGIC 0x0a790a79 /**< */
#endif
#include "armv4_5.h"
#endif
#include "armv4_5.h"
+#include "breakpoints.h"
#include "arm_disassembler.h"
#include "binarybuffer.h"
#include "arm_disassembler.h"
#include "binarybuffer.h"
#include "config.h"
#endif
#include "config.h"
#endif
+#include "breakpoints.h"
#include "armv7m.h"
#define ARRAY_SIZE(x) ((int)(sizeof(x)/sizeof((x)[0])))
#include "armv7m.h"
#define ARRAY_SIZE(x) ((int)(sizeof(x)/sizeof((x)[0])))
#include "config.h"
#endif
#include "config.h"
#endif
+#include "breakpoints.h"
#include "cortex_a8.h"
#include "armv7a.h"
#include "armv4_5.h"
#include "cortex_a8.h"
#include "armv7a.h"
#include "armv4_5.h"
#include "config.h"
#endif
#include "config.h"
#endif
+#include "breakpoints.h"
#include "cortex_m3.h"
#include "target_request.h"
#include "target_type.h"
#include "cortex_m3.h"
#include "target_request.h"
#include "target_type.h"
#include "config.h"
#endif
#include "config.h"
#endif
+#include "breakpoints.h"
#include "mips32.h"
#include "mips_m4k.h"
#include "mips32_dmaacc.h"
#include "mips32.h"
#include "mips_m4k.h"
#include "mips32_dmaacc.h"
#include "target.h"
#include "target_type.h"
#include "target_request.h"
#include "target.h"
#include "target_type.h"
#include "target_request.h"
+#include "breakpoints.h"
#include "time_support.h"
#include "register.h"
#include "trace.h"
#include "time_support.h"
#include "register.h"
#include "trace.h"
-#include "breakpoints.h"
#include "algorithm.h"
#include "command.h"
struct reg;
struct trace;
struct command_context;
#include "algorithm.h"
#include "command.h"
struct reg;
struct trace;
struct command_context;
+struct breakpoint;
+struct watchpoint;
#include "config.h"
#endif
#include "config.h"
#endif
+#include "breakpoints.h"
#include "xscale.h"
#include "target_type.h"
#include "arm7_9_common.h"
#include "xscale.h"
#include "target_type.h"
#include "arm7_9_common.h"
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)