| 1 | #include "mock.h" |
| 2 | #include "debug.h" |
| 3 | #include "debugger.h" |
| 4 | |
| 5 | void |
| 6 | die (int status) |
| 7 | { |
| 8 | exit (status); |
| 9 | } |
| 10 | |
| 11 | debug_return_t enter_debugger (target_stack_node_t *p, |
| 12 | file_t *p_target, int errcode, |
| 13 | debug_enter_reason_t reason) |
| 14 | { |
| 15 | printf("%p %p %d %u\n", p, p_target, errcode, reason); |
| 16 | return continue_execution; |
| 17 | } |
| 18 | |
| 19 | /*! Show target information: location and name. */ |
| 20 | extern void |
| 21 | print_file_target_prefix (const file_t *p_target) |
| 22 | { |
| 23 | printf("%p\n", p_target); |
| 24 | } |