aboutsummaryrefslogtreecommitdiff
path: root/src/include/target.h
diff options
context:
space:
mode:
authorGareth McMullin2012-06-30 20:29:08 +1200
committerGareth McMullin2012-06-30 20:29:08 +1200
commitd64cec686a8cabe4f727149356f9dbc9e8ff10fb (patch)
tree7e5bd842bd7a9f4c33fb53f37123775d156c4a16 /src/include/target.h
parent53af978295ad1faa982a1af21219eea19d270cd9 (diff)
Signal on halt is now returned by target_halt_wait().
Fault unwinding is now handled internally in target implementation. GDB server doesn't need to know about it.
Diffstat (limited to 'src/include/target.h')
-rw-r--r--src/include/target.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/include/target.h b/src/include/target.h
index 4a702a1..d2af706 100644
--- a/src/include/target.h
+++ b/src/include/target.h
@@ -88,9 +88,6 @@ target *target_attach(target *t, target_destroy_callback destroy_cb);
#define target_halt_resume(target, step) \
(target)->halt_resume((target), (step))
-#define target_fault_unwind(target) \
- ((target)->fault_unwind?(target)->fault_unwind((target)):0)
-
/* Break-/watchpoint functions */
#define target_set_hw_bp(target, addr) \
(target)->set_hw_bp((target), (addr))
@@ -152,7 +149,6 @@ struct target_s {
void (*halt_request)(struct target_s *target);
int (*halt_wait)(struct target_s *target);
void (*halt_resume)(struct target_s *target, uint8_t step);
- int (*fault_unwind)(struct target_s *target);
/* Break-/watchpoint functions */
int (*set_hw_bp)(struct target_s *target, uint32_t addr);