change #include "log.h" to <helper/log.h>
authorZachary T Welch <zw@superlucidity.net>
Thu, 3 Dec 2009 12:14:28 +0000 (04:14 -0800)
committerZachary T Welch <zw@superlucidity.net>
Thu, 3 Dec 2009 12:22:52 +0000 (04:22 -0800)
Changes from the flat namespace to heirarchical one.  Instead of writing:

#include "log.h"

the following form should be used.

#include <helper/log.h>

The exception is from .c files in the same directory.

19 files changed:
src/flash/common.c
src/flash/flash.h
src/flash/mflash.c
src/hello.c
src/jtag/jtag.h
src/pld/pld.c
src/pld/xilinx_bit.c
src/server/httpd_stubs.c
src/server/server.h
src/target/arm_disassembler.c
src/target/arm_simulator.c
src/target/armv4_5_cache.c
src/target/armv4_5_mmu.c
src/target/breakpoints.c
src/target/image.c
src/target/register.c
src/target/target_request.c
src/target/testee.c
src/target/trace.c

index 072e6912fd45079dff8ca4d76270fd9993233991..17bc81c2a76c0756ed7cced3e9ae2758a18a4847 100644 (file)
@@ -21,7 +21,7 @@
 #endif
 
 #include "common.h"
-#include "log.h"
+#include <helper/log.h>
 
 unsigned get_flash_name_index(const char *name)
 {
index 92727bf9e998824cc26db1b0833efdfce346a5a3..fea7372c41f6ae00612c65dd83ab24883b3314fc 100644 (file)
@@ -27,7 +27,7 @@
 #define FLASH_H
 
 #include "target.h"
-#include "log.h"
+#include <helper/log.h>
 
 struct image;
 
index 72faae224123a10c6ea7d5424175afc5841abf14..43d8ddd326b3c68fdc0264da570c59114fe2e093 100644 (file)
@@ -25,7 +25,7 @@
 #include "target.h"
 #include "time_support.h"
 #include <helper/fileio.h>
-#include "log.h"
+#include <helper/log.h>
 
 
 static int s3c2440_set_gpio_to_output (struct mflash_gpio_num gpio);
index cfd6e2fe95ae9e2f5a704dec899094718b5876cd..0cd06adc1e1be97ab8b10655beb7799ebcee8e57 100644 (file)
@@ -20,7 +20,7 @@
 #ifdef HAVE_CONFIG_H
 #include <config.h>
 #endif
-#include "log.h"
+#include <helper/log.h>
 
 COMMAND_HANDLER(handle_foo_command)
 {
index 694e2f7e09b3e95488f8efc3e6cd202499105ded..eaa0c7c7a74ab69b6503630c98ad13350ec5894f 100644 (file)
@@ -24,7 +24,7 @@
 #define JTAG_H
 
 #include <helper/binarybuffer.h>
-#include "log.h"
+#include <helper/log.h>
 
 #ifdef _DEBUG_JTAG_IO_
 #define DEBUG_JTAG_IO(expr ...) \
index df7ac0de09cfad98cb680aa7f3f010d7258b3f8a..985e36485d1771d697ae11f1da47793e581bd58d 100644 (file)
@@ -22,7 +22,7 @@
 #endif
 
 #include "pld.h"
-#include "log.h"
+#include <helper/log.h>
 #include "time_support.h"
 
 
index 70edbf571f55ec1d32006da13c91c77a01f8e921..1ae1ea8df689ae7277d46510e1e083c0c8e9a648 100644 (file)
@@ -23,7 +23,7 @@
 
 #include "xilinx_bit.h"
 #include "pld.h"
-#include "log.h"
+#include <helper/log.h>
 
 #include <sys/stat.h>
 
index 6c289afa982df9e34ada65b37e477c2fd6e9af20..0360fe61bfbbb21e717c64ea5eb629014ffb8e71 100644 (file)
@@ -21,7 +21,7 @@
 #include <config.h>
 #endif
 #include "httpd.h"
-#include "log.h"
+#include <helper/log.h>
 
 int httpd_start(struct command_context *cmd_ctx)
 {
index e632bf1e29b1405c9918c39c28831614bc41d925..be1afbe4083d9cb8637453ed39eac5246c87bb4a 100644 (file)
@@ -26,7 +26,7 @@
 #ifndef SERVER_H
 #define SERVER_H
 
-#include "log.h"
+#include <helper/log.h>
 
 #ifdef HAVE_NETINET_IN_H
 #include <netinet/in.h>
index b93df64d10b2f5fd8a8824c06f1909f2e4a0ef2d..29ca23cae1273c4b28f7af6eece027700db58c0a 100644 (file)
@@ -25,7 +25,7 @@
 
 #include "target.h"
 #include "arm_disassembler.h"
-#include "log.h"
+#include <helper/log.h>
 
 
 /*
index b96a08a180cf30f2f26e8bac3bb655832b1d790a..4b8d86e7ac26b8d360979028af0cc4a7552d04b5 100644 (file)
@@ -29,7 +29,7 @@
 #include "arm_simulator.h"
 #include <helper/binarybuffer.h>
 #include "register.h"
-#include "log.h"
+#include <helper/log.h>
 
 
 static uint32_t arm_shift(uint8_t shift, uint32_t Rm,
index 58fc0c1d52c09a6e36631947e8619b251135ae4c..dcbcef3a131947d2ca0941b61244f0d96aac1c45 100644 (file)
@@ -22,7 +22,7 @@
 #endif
 
 #include "armv4_5_cache.h"
-#include "log.h"
+#include <helper/log.h>
 
 int armv4_5_identify_cache(uint32_t cache_type_reg, struct armv4_5_cache_common *cache)
 {
index 4651960f990f12e4db3c4a85f17f1bd9f6c833e7..4d2fbeeb26fc604286fe6002fcc08c1b55b3295b 100644 (file)
@@ -21,7 +21,7 @@
 #include "config.h"
 #endif
 
-#include "log.h"
+#include <helper/log.h>
 #include "target.h"
 #include "armv4_5_mmu.h"
 
index 2542c41a6fec9b9670256abcccb9c54e6a90b7eb..637f681d7f4f284d68337ada46c93c03b2f906b5 100644 (file)
@@ -22,7 +22,7 @@
 #endif
 
 #include "target.h"
-#include "log.h"
+#include <helper/log.h>
 #include "breakpoints.h"
 
 
index ca7123adc37947c3adb2bb819a72cef8c9100aa3..f8d05292c853cf5189b5337b5fc8c3771d3a2cbd 100644 (file)
@@ -32,7 +32,7 @@
 
 #include "image.h"
 #include "target.h"
-#include "log.h"
+#include <helper/log.h>
 
 
 /* convert ELF header field to host endianness */
index 392455d013883c8b7d0dcdd1b802e7286c39bcd2..7b26b740e578f31a8b22548833f79061a0e727e6 100644 (file)
@@ -26,7 +26,7 @@
 
 #include "types.h"
 #include "register.h"
-#include "log.h"
+#include <helper/log.h>
 
 /**
  * @file
index c66cd04c1afe3ef5f7a3c800b4230fb45037f3a2..fc0ba1ac0a615955042eac099d58a8fe25249498 100644 (file)
@@ -32,7 +32,7 @@
 #include "target_type.h"
 #include <helper/binarybuffer.h>
 #include "trace.h"
-#include "log.h"
+#include <helper/log.h>
 
 
 static int charmsg_mode = 0;
index f8582322422837d5174eedd778f4c594901efc73..45273887b81852b42f425e3fae67de6ba80c6c8c 100644 (file)
@@ -22,7 +22,7 @@
 #endif
 #include "target.h"
 #include "target_type.h"
-#include "log.h"
+#include <helper/log.h>
 #include "../hello.h"
 
 static const struct command_registration testee_command_handlers[] = {
index f257592b23daaabb075ed8fa7b5079e8c7964696..99d6bae3bfd7918f067c265f344594eb77685b20 100644 (file)
@@ -21,7 +21,7 @@
 #include "config.h"
 #endif
 
-#include "log.h"
+#include <helper/log.h>
 #include "trace.h"
 #include "target.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)