Browse Source

target: less implicit inclusion of "etm.h"

Don't include it in more headers than necessary; just
use it in the few files that actually need it.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
tags/v0.4.0-rc1
David Brownell 14 years ago
parent
commit
9a98e83b49
9 changed files with 13 additions and 2 deletions
  1. +1
    -1
      src/target/arm11.c
  2. +1
    -0
      src/target/arm11_dbgtap.c
  3. +1
    -0
      src/target/arm7_9_common.c
  4. +1
    -0
      src/target/arm7_9_common.h
  5. +1
    -0
      src/target/armv4_5.c
  6. +1
    -1
      src/target/armv4_5.h
  7. +1
    -0
      src/target/etb.c
  8. +1
    -0
      src/target/etm.c
  9. +5
    -0
      src/target/trace.h

+ 1
- 1
src/target/arm11.c View File

@@ -26,10 +26,10 @@
#include "config.h"
#endif

#include "etm.h"
#include "arm11.h"
#include "breakpoints.h"
#include "arm11_dbgtap.h"
#include "armv4_5.h"
#include "arm_simulator.h"
#include "time_support.h"
#include "target_type.h"


+ 1
- 0
src/target/arm11_dbgtap.c View File

@@ -24,6 +24,7 @@
#include "config.h"
#endif

#include "arm_jtag.h"
#include "arm11_dbgtap.h"

#include "time_support.h"


+ 1
- 0
src/target/arm7_9_common.c View File

@@ -34,6 +34,7 @@
#include "embeddedice.h"
#include "target_request.h"
#include "arm7_9_common.h"
#include "etm.h"
#include "time_support.h"
#include "arm_simulator.h"
#include "algorithm.h"


+ 1
- 0
src/target/arm7_9_common.h View File

@@ -30,6 +30,7 @@
#define ARM7_9_COMMON_H

#include "armv4_5.h"
#include "arm_jtag.h"

#define ARM7_9_COMMON_MAGIC 0x0a790a79 /**< */



+ 1
- 0
src/target/armv4_5.c View File

@@ -28,6 +28,7 @@
#endif

#include "armv4_5.h"
#include "arm_jtag.h"
#include "breakpoints.h"
#include "arm_disassembler.h"
#include "binarybuffer.h"


+ 1
- 1
src/target/armv4_5.h View File

@@ -27,7 +27,7 @@
#define ARMV4_5_H

#include "target.h"
#include "etm.h"
#include "log.h"

typedef enum armv4_5_mode
{


+ 1
- 0
src/target/etb.c View File

@@ -22,6 +22,7 @@
#endif

#include "armv4_5.h"
#include "etm.h"
#include "etb.h"
#include "register.h"



+ 1
- 0
src/target/etm.c View File

@@ -22,6 +22,7 @@
#endif

#include "armv4_5.h"
#include "etm.h"
#include "etb.h"
#include "image.h"
#include "arm_disassembler.h"


+ 5
- 0
src/target/trace.h View File

@@ -42,6 +42,11 @@ struct trace
int trace_history_overflowed;
};

/**
* \todo This enum is one of the few things in this file related
* to *hardware* tracing ... split such "real" tracing out from
* the contrib/libdcc support.
*/
typedef enum trace_status
{
TRACE_IDLE = 0x0,


Loading…
Cancel
Save