From d64cec686a8cabe4f727149356f9dbc9e8ff10fb Mon Sep 17 00:00:00 2001 From: Gareth McMullin Date: Sat, 30 Jun 2012 20:29:08 +1200 Subject: 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. --- src/include/target.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/include/target.h') 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); -- cgit v1.2.3